Skip to content

Instantly share code, notes, and snippets.

@shaik2many
Created December 25, 2013 21:24
Show Gist options
  • Save shaik2many/8127089 to your computer and use it in GitHub Desktop.
Save shaik2many/8127089 to your computer and use it in GitHub Desktop.
java set order
Set<String> set = new TreeSet<String>();
set.add("reyaz");
set.add("arshad");
System.out.println(set);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment