lior6543
January 22nd, 2005, 02:43 PM
Hello!
I'm using ArrayList variable and I would like to use the Binary search function (or anything else) but my problem goes like this:
Each element in the array is a Class I created which holds several of variables in it. I would like to search an element in the array by a specific variable inside the Class (could be String*, int ... ) and get the index of the element as a return value.
Now how the **** can I do that?
I'm using ArrayList variable and I would like to use the Binary search function (or anything else) but my problem goes like this:
Each element in the array is a Class I created which holds several of variables in it. I would like to search an element in the array by a specific variable inside the Class (could be String*, int ... ) and get the index of the element as a return value.
Now how the **** can I do that?