I have an ArrayList set up with a set of class objects.
The class has 3 strings in it and are as follows
ProdID
GSP
Description
Okay now problem with getting all these into the list and displaying them correctly and manipulating
things except for one thing.
I wish to be able to do search through the whole list without stepping through the entire list
enumerating them. I would just like to be able to search on one field. The ProdID.
For now I do it by
dim myspec as new clsSpecs
for each myspec in specList
if test.prodid.compareto(myspec.ProdID) = 0 then
do stuff
end if
next
Now this works but I am looking for a search method but list.BinarySearch does not seem to do it.
Any help?