情感美文

TreeSet vs HashSet vs LinkedHashSet

作者:本站 | 分类:情感控制| 浏览:12

	TreeSet vs HashSet vs LinkedHashSet

TreeSetHashSetLinkedHashSetpublicclassTreeSetextendsimplements,,publicclassHashSetextendsimplements,,publicclassLinkedHashSetextendsimplements,,uniquevaluesuniquevaluesUniquevaluesItstoresitselementsinared-blacktreeItstoresitselementsinahashtableisimplementedasahashtablewithalinkedlistrunningthroughitOrder:ascendingorderundefinedinsertionorderPerformance:SlowbetterthanLinkedHashSethasfastaddingtothestartofthelist,andfastdeletionfromtheinteriorviaiterationoperations(add,removeandcontains)operations(add,remove,containsandsize)operations(add,containsandremove)add,addAll,ceiling,clear,clone,comparator,contains,descendingIterator,descendingSet,first,floor,hashSet,higher,isEmpty,iterator,last,lower,pollFirst,remove,size,subSet,tailSet,,,,,,,,,,,,,,FromAbstractSet:,,,,,,,,,,AbstractCollection:,,,,,,,,,,Set:,,,,,,,,,,,,,,,,,,,,,,,,,,,postedon2012-03-3111:30阅读(481)所属分类:。

上一篇:幼儿园中班音乐教案《大树妈妈》含反思    下一篇:没有了
最近更新
精彩推荐
友情链接