java treeset sort

Solutions on MaxInterview for java treeset sort by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "java treeset sort"
Miranda
23 Aug 2017
1Set<String> set = new TreeSet<String>(new Comparator<String>() {
2
3    public int compare(String one, String other) {
4        // implement
5    }
6
7});