Passing a Vector object to a function
I am working on a program that involves a string Vector object. I have to re-write the selection sort procedure using the vector object (instead of an array), and then re-write the binary search procedure also using the vector object. I already have the code written for an array for both procedures, but I'm just not sure how to pass the Vector object to my sort and search functions so that I can re-work the functions for the Vector. I've looked through multiple Java books I have, but none of them are helping, so I thought I'd post my problem here.
Any help would be greatly appreciated. If you need more info from me, just let me know and I'll post it.
Thanks in advance