KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel