Package de.cuioss.tools.collect


package de.cuioss.tools.collect
Provides a number of utilities in the context of Collections
  • CollectionBuilder: Unified builder for building arbitrary Collections.
  • CollectionLiterals: Provides literal-forms for creating populated collection instances. In essence its doing the same compared to the corresponding com.google.common.collect types but with different semantics (like naming, types) and is designed as a one stop utility class for all kind of Collection implementations including Sets and Maps.
  • MapBuilder: Builder for creating different kind of Maps, similar to CollectionBuilder
  • MoreCollections: Utility Methods for Collections and some types to be used in the context of Collections
  • PartialCollection: Used for transporting partial views of java.util.Collection. Currently there is one implementation available: PartialArrayList. This provides the factory method PartialArrayList.of(java.util.List, int) for quickly creating instances