Eclipse Collections 10.0ããªãªã¼ã¹ããã¾ãã #EclipseCollections
æ¬è¨äºã¯Donald Raabæ°ã«ãã Eclipse Collections 10.0 Released - Oracle Developers - Medium ãå ã«ããæ¥æ¬èªçã®è¨äºã§ããæ¥æ¬èªã§ããããããæ å ±ã¨ãªãããã«é©å®ç·¨éãã¦ãããæ¥æ¬èªè¨³ã¨ã¯éã£ã¦å¿ ãããå ã®æç« ã訳ãããã®ã§ã¯ããã¾ããï¼æ¬äººã«rewriteã®è¨±å¯ãããã£ã¦ããã¾ãï¼ãåæãåèã«ãããå ´åã¯ä¸è¨ãªã³ã¯ããã©ããã
ã³ã³ããªãã¥ã¼ã¿ã¼ã®çãããããã¨ããããã¾ãã
Eclipse Collections ã®10.0ã¯2019å¹´ã®7æã«ãªãªã¼ã¹ãããååã®9.2ãªãªã¼ã¹ãã1å¹´4ã¶æã¨ãªãã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ã®ãªãªã¼ã¹ã¨ãªãã¾ãã9.xãã¼ã¸ã§ã³ã®ãªãªã¼ã¹ã¯é常ã«æ©è½ãè±å¯ã§ãã³ãã¥ããã£ããããããã®ã³ã³ããªãã¥ã¼ã·ã§ã³ããã£ããã§ããã10.0ã§ã¯ãããè¶ ãããã®ã«ãªãã¾ããï¼ãªãã¨ã10.0ã®ãªãªã¼ã¹ã§ã¯å®ã«18人ãã®ã³ã³ããªãã¥ã¼ã¿ã¼ãæ©è½è¿½å ããã¦ããã¦ãããçå®ã«OSSã¨ãã¦ã®æé·ãæ©ãã§ããã¾ããè²´éãªæéãè²»ããã¦Eclipse Collectionsã®æ©è½è¿½å ãå質æ¹åã«ãååããã ããã³ã³ããªãã¥ã¼ã¿ã¼çããã«æè¬ã®æ°æã¡ã§ãã£ã±ãã§ãï¼ãããã¨ããããã¾ããï¼ï¼
ã²ã¨ã¤ã®è¨äºã«ã¾ã¨ããã«ã¯æ©è½ãå¤ãããw
Eclipse Collectionsã®10.0ã¯é常ã«å¤ãã®æ°æ©è½ãå«ã¾ãã¦ãããã²ã¨ã¤ã®è¨äºã«åããã«ã¯å¤ããããããä»å¾3ã¤ã®è¨äºã«åãã¦æ©è½ã®è©³ç´°ãç´¹ä»ãã¦ããã¾ããæ¬è¨äºã§ã¯ãæ°æ©è½ã®ãµããªã¼ãç´¹ä»ããã«ã¨ã©ãã¾ãã
æ°æ©è½ã®ãµããªã¼
MultiReaderList/Bag/Set
ã«ç¹åããInterface- ããªããã£ãListããããªããã£ãStreamãçæããå®è£
toMap
ã«ãããã¿ã¼ã²ããMapã®ãµãã¼ãMutableMapIterable.removeAllKeys
ã®å®è£RichIterable.toBiMap
ã®å®è£Multimap.collectKeyMultiValues
ã®å®è£- ã³ã¬ã¯ã·ã§ã³ãã¡ã¯ããªã«ããã
fromStream(Stream)
ã®å®è£ LazyIterate.cartesianProduct
ã®å®è£- ããªããã£ãMapã¸ã®
updateValues
ã¡ã½ããã®è¿½å MutableMultimap.getIfAbsentPutAll
ã®å®è£Bag.collectWithOccurrences
ã®å®è£- ããªããã£ãã®Iterableã¸ã®
reduce
ã¨reduceIfEmpty
ã®è¿½å - ããªããã£ãç¨ã®
<type1><type2>To<type1>Function
ã®è¿½å - ããªããã£ãMapã¸ã®
of/withInitialCapacity
ã¡ã½ããã®è¿½å RichIterable.countByEach
ã®å®è£UnifiedSetWithHashingStrategy.addOrReplace
ã®å®è£UnmodifiableMutableOrderedMap
ã®å®è£- ãã¥ã¼ã¿ãã«ãªããªããã£ãMapä¸ã§ã®
withAllKeyValues
ã®å®è£ Iterable
ããPrimitivePrimitive/PrimitiveObject/ObjectPrimitiveMap
ãçæããæ©è½ã®å®è£HashingStrategySets.of/withInitialCapacity
ã®å®è£RichIterable.getAny
ã®å®è£- ããªããã£ãã®ããã·ã¥ãã¼ã¿æ§é ã«ããã
resize/rehash
ã¡ã½ããã®å·æ°ã¨æ¨æºå Iterable<BoxedPrimitive>
ããPrimitiveStack/Bag/List/Set
ã¸å¤æãããã¡ã¯ããªã¡ã½ããã®å®è£Multimaps
ãã¡ã¯ããªã¯ã©ã¹å ã®'ImmutableSortedBagMultimapFactory`ã®å®è£Map
ããã©ã¡ã¼ã¿ã«ã¨ãMap
ãã¡ã¯ããªã¡ã½ããã®å®è£MultableMultimap.putAllPairs/add
ã¡ã½ãããã©ã¡ã¼ã¿ã¼ã¸ã®ã¯ã¤ã«ãã«ã¼ãåã®å°å ¥
æ°æ©è½ã«ã¤ãã¦ã¯ãææ°ã®JavaDocãã覧ãã ããã
æ©è½å¤ã§ã®æ¹åç¹
ã©ã¤ãã©ãªæ¬ä½ã®æ©è½è¿½å 以å¤ã«ãããã¾ãã¾ãªæ¹åããªããã¦ãã¾ãã 1. ãã¹ãã«ãã¬ãã¸ã®æ¹å 2. ãã«ãã®æ¹å 3. ã³ã¼ãã®éè¤ã®åæ¸ 4. éæ¨å¥¨ãªã¯ã©ã¹ã®åé¤ 5. ã¸ã§ããªã¯ã¹ã®æ¹å 6. æ°ãããã³ããã¼ã¯ãã¹ãã®è¿½å 7. ãã®ä»ããããï¼
ãããã¨ããããã¾ã
ãã¹ã¦ã®ã³ã³ããªãã¥ã¼ã¿ã¼ã¨ã³ããã¿ã¼ã代表ãã¦... Eclipse Collectionsã使ã£ã¦ããã ããããã¨ããããã¾ãï¼ï¼ 10.0ãªãªã¼ã¹ã§ã®æ°ããæ©è½ã¨æ¹åã楽ããã§ããã ããã¨å¹¸ãã§ãã
ãããæ°æ©è½ã®è©³ç´°ã¯ä¾ãã¤ãã¦è¿½ã£ã¦è¨äºåãã¦ããã¾ãã®ã§ã楽ãã¿ã«ï¼
Eclipse Collectionsã¯ã³ã³ããªãã¥ã¼ã·ã§ã³ãåãä»ãã¦ãã¾ãï¼ã©ãããå§ãã¦ãããããããããªãã¨ããæ¹ã¯itohiro73ã¾ã§DMããã ããã°åãã§ã¬ã¤ãããã¦ããã ãã¾ãã
ããã©ã¤ãã©ãªãæ°ã«å ¥ã£ã¦ããã ãã¦ãããããã«ç¥ããããã¨ããæ¹ã¯ãTwitterã§ããã·ã¥ã¿ã°#EclipseCollectionsãã¤ãã¦ã¤ã¶ããã¦ããã ãããããããã¯GitHubã¬ãã«ã¹ã¿ã¼ãã¤ãã¦ããã ããã¨ãã£ã¡ããããã³ã¾ãã®ã§ã©ãããããããé¡ããã¾ãï¼ï¼