I have a List of object and the list is very big. The object is
class Sample {
    String value1;
    String value2;
    String value3;
    String value4;
    String value5;
 }
Now I have to search for a specific value of an object in the list. Say if value3=='three'  I have to return those objects (My search is not always based on value3)
The list is
List<Sample> list = new ArrayList<Sample>();
What is the efficient way of doing it?
Thanks.
 
     
     
     
     
     
     
     
     
     
    