First, If you have a static vector in your class, and the method is in the same class, you do not need to send the vector to the method as an argument. The method will be able to get at and scan the vector anyway.
As long as the instance got loaded to the vector before you call this method,
you should be able to locate the reference to the instance in the vector no problem.