skip to main
|
skip to sidebar
DebugMaster
How to get TreeSet from TreeMap?
How to get TreeSet from TreeMap?
TreeMap
tree = new TreeMap
();
tree.put("One", "ABC");
tree.put("TWO", "DEF");
TreeSet
treeSet = new TreeSet
(tree.keySet());
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Interview Questions
Core Java FastTrack
Core Java Advanced
Java Swing
Java Applet
Hibernate
HR
No comments:
Post a Comment