Java - Data structure - Set

No any duplicate item in set

most methods of set will return boolean to tell you the set status 

.add

.remove

.contains

.size

 HashSet < Unorder

LinkedHashSet < Ordered


留言

此網誌的熱門文章

MAP - Sort with stream

JAVA - DSF Example