How to Set Multiple data and retrive Using Generic list and Comparator
package com.AddMultiple; import java.util.*; /** * * @author Ananddw * */ public class Mutiple implements Comparable<Mutiple>{ private String name; private String age; private String location; @Override public int compareTo(Mutiple o) { return name.compareTo(o.name); } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getAge() { return age; } public void setAge(String age) { ...