gembin

          OSGi, Eclipse Equinox, ECF, Virgo, Gemini, Apache Felix, Karaf, Aires, Camel, Eclipse RCP

          HBase, Hadoop, ZooKeeper, Cassandra

          Flex4, AS3, Swiz framework, GraniteDS, BlazeDS etc.

          There is nothing that software can't fix. Unfortunately, there is also nothing that software can't completely fuck up. That gap is called talent.

          About Me

           

          TreeSet vs HashSet vs LinkedHashSet

          TreeSetHashSetLinkedHashSet
          public class TreeSet
          extends AbstractSet
          implements SortedSetCloneableSerializable
          public class HashSet
          extends AbstractSet
          implements SetCloneableSerializable
          public class LinkedHashSet
          extends HashSet
          implements SetCloneableSerializable
          unique valuesunique valuesUnique values
          It stores its elements in a red-black treeIt stores its elements in a hash tableis implemented as a hash table with a linked list running through it
          Order : ascending orderundefinedinsertion order
          Performance : Slowbetter than LinkedHashSethas fast adding to the start of the list, and fast deletion from the interior via iteration
          operations (addremove and contains)operations (addremovecontains and size)operations (addcontains and remove)
          add, addAll,ceiling,clear,clone,comparator,contains,
          descendingIterator,descendingSet,first,floor,
          hashSet,higher,isEmpty,iterator,last,lower,pollFirst,
          remove,size,subSet,tailSet
          addclearclonecontainsisEmpty,iteratorremovesizeaddclearclonecontainsisEmpty,iteratorremovesize
          From AbstractSet:
          equalshashCoderemoveAll
          equalshashCoderemoveAllequalshashCoderemoveAll
          containsAllretainAlltoArraytoArray,toStringAbstractCollection:
          addAllcontainsAllretainAlltoArray,toArraytoString
          addAllcontainsAllretainAlltoArray,toArraytoString
          Set:
          containsAllequalshashCoderemoveAll,retainAlltoArraytoArray
          addAllcontainsAllequalshashCode,removeAllretainAlltoArraytoArrayaddaddAllclearcontainscontainsAll,equalshashCodeisEmptyiteratorremove,removeAllretainAllsizetoArraytoArray

          posted on 2012-03-31 11:30 gembin 閱讀(696) 評(píng)論(0)  編輯  收藏 所屬分類: JavaSE

          導(dǎo)航

          統(tǒng)計(jì)

          常用鏈接

          留言簿(6)

          隨筆分類(440)

          隨筆檔案(378)

          文章檔案(6)

          新聞檔案(1)

          相冊(cè)

          收藏夾(9)

          Adobe

          Android

          AS3

          Blog-Links

          Build

          Design Pattern

          Eclipse

          Favorite Links

          Flickr

          Game Dev

          HBase

          Identity Management

          IT resources

          JEE

          Language

          OpenID

          OSGi

          SOA

          Version Control

          最新隨筆

          搜索

          積分與排名

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          free counters
          主站蜘蛛池模板: 琼海市| 宜黄县| 菏泽市| 寻乌县| 垫江县| 鹤峰县| 沁阳市| 珲春市| 太保市| 古蔺县| 安福县| 纳雍县| 丰县| 利川市| 金川县| 汉源县| 汶川县| 确山县| 中江县| 江永县| 聊城市| 莱西市| 天长市| 呼玛县| 林周县| 织金县| 莆田市| 玉田县| 汕头市| 黄浦区| 黄龙县| 沂源县| 威信县| 厦门市| 象州县| 西乌| 承德市| 嘉鱼县| 德格县| 札达县| 秦皇岛市|