All,
I have a object
public class Device {
     public String getUserId() {
        return userId;
    }
    public String getDeviceId() {
        return deviceId;
    }
}
I get all the List of Values
     List<Device> uList = getList();
In the List i have a duplicate values Based on userId Now i want to get Unique list which will remove the duplicates of userId
How can i acheive it, I am very much new to Java
 
     
    