I have a data Structure called UOAUtilities and this is the method.
My question is, how can I fetch a studentlisting which holds string,int,float with just a string?
public StudentListings fetch (String targetKey)
while(i < next && !(data[i].compareTo(targetKey) == 0))
if(i == next)
StudentListings = data[i].deepCopy();
temp = data[i - 1];
data[i - 1] = data[i];
data[i] = temp;
Re: fetch method
Check if the Strings are equal rather than checking that the String equals a StudentListing.