Package io.cui.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 ofMaps, similar toCollectionBuilderMoreCollections: Utility Methods for Collections and some types to be used in the context of CollectionsPartialCollection: Used for transporting partial views of java.util.Collection. Currently there is one implementation available:PartialArrayList. This provides the factory methodPartialArrayList.of(java.util.List, int)for quickly creating instances
-
Interface Summary Interface Description MapDifference<K,V> An object representing the differences between two maps.MapDifference.ValueDifference<V> A difference between the mappings from two maps with the same key.PartialCollection<T extends Serializable> Represents a partial collection / sub-collection. -
Class Summary Class Description CollectionBuilder<E> OverviewCollectionLiterals OverviewMapBuilder<K,V> OverviewMoreCollections OverviewPartialArrayList<T extends Serializable> Overview