@CheckReturnValue @ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault @FieldsAreNonnullByDefault
Package org.sosy_lab.common.collect
This package contains additional interfaces and implementations for collections, as well as
further collection utilities.
-
Interface Summary Interface Description MapsDifference.Visitor<K,V> Interface for visiting map entries differing between two maps.OrderStatisticMap<K,V extends @Nullable Object> ANavigableMap
that allows two additional operations: receiving (and deleting) an entry by its rank, and getting the rank of an entry.OrderStatisticSet<E> ANavigableSet
that allows two additional operations: receiving (and deleting) an element by its rank, and getting the rank of an element.PersistentList<T> Interface for persistent lists.PersistentMap<K,V extends @Nullable Object> Interface for persistent map.PersistentSortedMap<K,V extends @Nullable Object> Sub-interface ofPersistentMap
analog toNavigableMap
.PersistentSortedMaps.MergeConflictHandler<K,V> A callback that is used when a key with two different values is encountered during the merge of two maps. -
Class Summary Class Description Collections3 Utility class similar toCollections
andCollections2
.CopyOnWriteSortedMap<K,V extends @Nullable Object> This is a map implementation that uses copy-on-write behavior.MapsDifference Utilities for handling differences between maps.MapsDifference.DefaultVisitor<K,V> Default implementation ofMapsDifference.Visitor
with empty methods.MapsDifference.Entry<K,V> Class representing the difference between two maps for a given key.MoreCollectors AdditionalCollector
implementation, similar toCollectors
.OrderStatisticMapTestSuite OrderStatisticMapTestSuite.OrderStatisticMapFactory OrderStatisticSetTestSuite OrderStatisticSetTestSuite.OrderStatisticSetFactory PathCopyingPersistentTreeMap<K extends Comparable<? super K>,V extends @Nullable Object> This is an implementation ofPersistentSortedMap
that is based on left-leaning red-black trees (LLRB) and path copying.PersistentLinkedList<T> A single-linked-list implementation ofPersistentList
.PersistentSortedMaps Utility class forPersistentSortedMap
s.