good day,
i have an ArrayList of
String Array. i have duplicates in that ArrayList. how to remove the duplicates using LinkedHashSet.
this is the model of the string array,
String [] clause = {"xyz", "area", "584", "12", "45", "32"};
suppose the arrayList contains three String arrays
1. {"xyz", "area", "584", "12", "45", "32"};
2. {"xyz", "area", "585", "12", "45", "32"};
3. {"xyz", "area", "584", "12", "45", "32"};
i need to remove 3rd array.
it's the clause[2] i need to use to remove duplicates. it's the unique quantity. how to achieve this using LinkedHashset.
Good day
krishna prasad