Skip to main content
  • Log in
  • Manage Cookies
projects.eclipse.org
Download
  • Projects
  • Working Groups
  • Members
  • Community
    • Marketplace
    • Events
    • Planet Eclipse
    • Newsletter
    • Videos
    • Blogs
  • Participate
    • Report a Bug
    • Forums
    • Mailing Lists
    • Wiki
    • IRC
    • Research
  • Eclipse IDE
    • Download
    • Learn More
    • Documentation
    • Getting Started / Support
    • How to Contribute
    • IDE and Tools
    • Newcomer Forum
  • More
      • Community

      • Marketplace
      • Events
      • Planet Eclipse
      • Newsletter
      • Videos
      • Blogs
      • Participate

      • Report a Bug
      • Forums
      • Mailing Lists
      • Wiki
      • IRC
      • Research
      • Eclipse IDE

      • Download
      • Learn More
      • Documentation
      • Getting Started / Support
      • How to Contribute
      • IDE and Tools
      • Newcomer Forum
    • Search

  1. Home
  2. Projects
  3. Eclipse Technology
  4. Eclipse Collections™
  5. 11.1.0

Eclipse Collections™ 11.1.0

Primary tabs

  • Overview(active tab)
  • Release Plan
  • Review Information

New Functionality 

Helpful and convenient APIs -  These are API requested either by the community or by project committers.

  • Added Bag.distinctView(). 
  • Added Bags.mutable.withInitialCapacity.
  • Added forEachInBoth to Primitive Lists.
  • Added MultiReader to Bags, Lists, Sets factory in API module.
  • Added Primitive Bag/Set/Stack factories in API module.
  • Added factory for ObjectPrimitiveHashMapWithHashingStrategy.
  • Added withInitialCapacity api in mutableObjectPrimitiveHashingStrategyMapFactory.
  • Added ability to create Hashing Strategy Sets, Maps and Bags using Function.
  • Added injectInto for primitive types to primitive iterables.
  • Added injectIntoKeyValue to MapIterable, objectPrimitiveMap, primitiveObjectMap, primitivePrimitiveMap.
  • Added mutable reduction scenario to injectIntoKeyValue test for primitive maps.
  • Added object to primitive map factory to API module.
  • Added of and with factory methods to object -> primitive map factories.
  • Added of and with factory methods to primitive -> primitive and primitive -> object map factories.
  • Added withKeyMultiValues to MutableMultimap and subtypes. 
  • Added withKeyValue to MutableMultimap and subtypes.
  • Added getAndPut to mutableObjectPrimitiveMap to retrieve the value associated with the key if one exists.
  • Added peekAndPop methods in ImmutableStack.
  • Added fused method for collect and makeString.
  • Added missing implementations of toString().
  • Added selectWithIndex and rejectWithIndex to Ordered Primitive Iterables.
  • Implemented containsAny, containsNone, containsAnyIterable, containsNoneIterable on RichIterable.

Tech Debt Reduction  

  • Replaced implementation factories and dependencies with API factories where possible.
  • Fixed CheckStyle configuration for NewlineAtEndOfFile so that it works across operating systems.
  • Made forEach a default method on primitiveIterable.stg.
  • Made noneSatisfy a default method on primitiveIterable.stg.
  • Removed unnecessary implementations of toSortedList/Set/Bag/MapBy.
  • Disambiguate and deprecate primitive injectInto methods on RichIterable.
  • Improved code generation logic into separate goals for sources, test-sources, and resources.
  • Improved PIT mutation test coverage.
  • Improved overall test coverage by adding missing tests. 

Optimizations 

  • Optimized asParallel() for immutable sets in O(1) instead of O(n).
  • Optimized some implementations of toString() that were delegating to iterators.
  • Improved equals() performance for Set implementations.

Ongoing maintenance changes 
Upgrades to project dependencies - actions/cache, actions/upload-artifact, actions/checkout, checkstyle, maven-site plugin, maven-shade plugin, setup-java. Other changes include converting reference guide to AsciiDoc format. 

 

Release Date: 
Tuesday, July 5, 2022
This release is part of Eclipse IDE 2023-03, Eclipse IDE 2022-12, and Eclipse IDE 2022-09.
Release Type: 
Minor release

Project Links

  • Getting Started
  • Website
Eclipse Collections™

Related Projects

Project Hierarchy:

  • Eclipse Technology
  • Eclipse Collections™

Tags

Technology Types
  • OSGi
  • Testing
  • Tools
Build Technologies
  • Jenkins
  • Maven

Eclipse Foundation

  • About Us
  • Contact Us
  • Sponsor
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors
  • Careers

Legal

  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace

Other

  • IDE and Tools
  • Projects
  • Working Groups
  • Research@Eclipse
  • Report a Vulnerability
  • Service Status

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top