If it is a string that is on the vector then you can use Integer.parseInt(string) to convert in to an int. Something like:
Integer.parseInt((String)vectorname.elementAt(i)) < intCompare
This casts the Object on the vecto to a String and then uses parseInt to return the int value.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.