Uses of Package
com.google.common.collect
Packages that use com.google.common.collect
Package
Description
Discouraged (in favor of Caffeine) caching utilities.
Collection interfaces and implementations, and other utilities for collections.
An API for representing graph (node and edge) data.
Utility methods and classes for I/O; for example input streams, output streams, readers, writers,
and files.
Utility methods and classes for networking (such as IP addresses and domain names).
Utilities for reflection.
Concurrency utilities.
-
Classes in com.google.common.collect used by com.google.common.cacheClassDescriptionAn abstract base class for implementing the decorator pattern.A
Mapwhose contents will never change, with many other important properties detailed atImmutableCollection. -
Classes in com.google.common.collect used by com.google.common.collectClassDescriptionImplementation of
Multimapthat uses anArrayListto store the values for a given key.Fixed-sizeTableimplementation backed by a two-dimensional array.A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as that of its keys.Indicates whether an endpoint of some range is contained in the range itself ("closed") or not ("open").A map, each entry of which maps a Java raw type to an instance of that type.A utility for performing a chained comparison statement.A multiset that supports concurrent modifications and that provides atomic versions of mostMultisetoperations (exceptions where noted).A sorted set of contiguous values in a givenDiscreteDomain.A descriptor for a discreteComparabledomain such as allIntegerinstances.ABiMapbacked by twoEnumMapinstances.ABiMapbacked by anEnumMapinstance for keys-to-values, and aHashMapinstance for values-to-keys.Multiset implementation specialized for enum elements, supporting all single-element operations in O(1).A non-blocking queue which automatically evicts elements from the head of the queue when attempting to add new elements onto the queue and it is full.A discouraged (but not deprecated) precursor to Java's superiorStreamlibrary.A collection which forwards all its method calls to another collection.A deque which forwards all its method calls to another deque.An iterator which forwards all its method calls to another iterator.A map which forwards all its method calls to another map.A multimap which forwards all its method calls to another multimap.A multiset which forwards all its method calls to another multiset.A navigable set which forwards all its method calls to another navigable set.An abstract base class for implementing the decorator pattern.A queue which forwards all its method calls to another queue.A set which forwards all its method calls to another set.A set multimap which forwards all its method calls to another set multimap.A sorted map which forwards all its method calls to another sorted map.A sorted set which forwards all its method calls to another sorted set.Implementation ofTableusing linked hash tables.ABiMapbacked by two hash tables.Implementation ofMultimapusing hash tables.Multiset implementation backed by aHashMap.ABiMapwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for creating immutable bimap instances, especiallypublic static finalbimaps ("constant bimaps").AClassToInstanceMapwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for creating immutable class-to-instance maps.ACollectionwhose contents will never change, and which offers a few additional guarantees detailed below.Abstract base class for builders ofImmutableCollectiontypes.AListwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for creating immutable list instances, especiallypublic static finallists ("constant lists").AListMultimapwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for creating immutableListMultimapinstances, especiallypublic static finalmultimaps ("constant multimaps").AMapwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for creating immutable map instances, especiallypublic static finalmaps ("constant maps").AMultimapwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for creating immutable multimap instances, especiallypublic static finalmultimaps ("constant multimaps").AMultisetwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for creating immutable multiset instances, especiallypublic static finalmultisets ("constant multisets").ARangeMapwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for immutable range maps.ARangeSetwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for immutable range sets.ASetwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for creatingImmutableSetinstances.ASetMultimapwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for creating immutableSetMultimapinstances, especiallypublic static finalmultimaps ("constant multimaps").ANavigableMapwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for creating immutable sorted map instances, especiallypublic static finalmaps ("constant maps").ASortedMultisetwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for creating immutable multiset instances, especiallypublic static finalmultisets ("constant multisets").ANavigableSetwhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for creating immutable sorted set instances, especiallypublic static finalsets ("constant sets"), with a given comparator.ATablewhose contents will never change, with many other important properties detailed atImmutableCollection.A builder for creating immutable table instances, especiallypublic static finaltables ("constant tables").Provides similar behavior toString.intern()for any immutable type.Builder forInternerinstances.Implementation ofMultimapthat does not allow duplicate key-value entries and that returns collections whose iterators follow the ordering in which the data was added to the multimap.AMultisetimplementation with predictable iteration order.An implementation ofListMultimapthat supports deterministic iteration order for both keys and values.AMultimapthat can hold duplicate key-value pairs and that maintains the insertion ordering of values for a given key.An object representing the differences between two maps.A difference between the mappings from two maps with the same key.A builder ofConcurrentMapinstances that can have keys or values automatically wrapped in weak references.A transformation of the value of a key-value pair, using both key and value as inputs.A double-ended priority queue, which provides constant-time access to both its least element and its greatest element, as determined by the queue's specified comparator.The builder class used in creation of min-max priority queues.A collection that maps keys to values, similar toMap, but in which each key may be associated with multiple values.An immutable builder forMultimapinstances, letting you independently select the desired behaviors (for example, ordering) of the backing map and value-collections.A specialization ofMultimapBuilderthat generatesListMultimapinstances.An intermediate stage in aMultimapBuilderin which the key-value collection map implementation has been specified, but the value collection implementation has not.A specialization ofMultimapBuilderthat generatesSetMultimapinstances.A specialization ofMultimapBuilderthat generatesSortedSetMultimapinstances.A collection that supports order-independent equality, likeSet, but may have duplicate elements.An unmodifiable element-count pair for a multiset.A mutable class-to-instance map backed by an arbitrary user-provided map.A comparator, with additional methods to support common operations.An iterator that supports a one-element lookahead while iterating.A range (or "interval") defines the boundaries around a contiguous span of values of someComparabletype; for example, "integers from 1 to 100 inclusive."A mapping from disjoint nonempty ranges to non-null values.Interface that extendsTableand whose rows are sorted.AMultimapthat cannot hold duplicate key-value pairs.An unmodifiable view of a set which may be backed by other sets; this view will change as the backing sets do.An object representing the differences between two sorted maps.AMultisetwhich maintains the ordering of its elements, according to either their natural order or an explicitComparator.ASetMultimapwhose set of values for a given key are kept sorted; that is, they comprise aSortedSet.An analogue ofDoubleFunctionalso accepting an index.An analogue ofFunctionalso accepting an index.An analogue ofIntFunctionalso accepting an index.An analogue ofLongFunctionalso accepting an index.A collection that associates an ordered pair of keys, called a row key and a column key, with a single value.Row key / column key / value triplet corresponding to a mapping in a table.Implementation ofTablewhose row keys and column keys are ordered by their natural ordering or by supplied comparators.Implementation ofMultimapwhose keys and values are ordered by their natural ordering or by supplied comparators.A multiset which maintains the ordering of its elements, according to either their natural order or an explicitComparator.An implementation ofRangeMapbased on aTreeMap, supporting all optional operations.Deprecated.An iterator that does not supportUnmodifiableIterator.remove().A list iterator that does not supportUnmodifiableIterator.remove(),UnmodifiableListIterator.add(E), orUnmodifiableListIterator.set(E). -
Classes in com.google.common.collect used by com.google.common.graphClassDescriptionA
Setwhose contents will never change, with many other important properties detailed atImmutableCollection.An iterator that does not supportUnmodifiableIterator.remove(). -
Classes in com.google.common.collect used by com.google.common.ioClassDescriptionA
Listwhose contents will never change, with many other important properties detailed atImmutableCollection. -
Classes in com.google.common.collect used by com.google.common.netClassDescriptionA
Listwhose contents will never change, with many other important properties detailed atImmutableCollection.AListMultimapwhose contents will never change, with many other important properties detailed atImmutableCollection.A collection that maps keys to values, similar toMap, but in which each key may be associated with multiple values. -
Classes in com.google.common.collect used by com.google.common.reflectClassDescriptionA collection which forwards all its method calls to another collection.A map which forwards all its method calls to another map.An abstract base class for implementing the decorator pattern.A set which forwards all its method calls to another set.A
Listwhose contents will never change, with many other important properties detailed atImmutableCollection.ASetwhose contents will never change, with many other important properties detailed atImmutableCollection. -
Classes in com.google.common.collect used by com.google.common.util.concurrentClassDescriptionA collection which forwards all its method calls to another collection.A deque which forwards all its method calls to another deque.An abstract base class for implementing the decorator pattern.A queue which forwards all its method calls to another queue.A
Listwhose contents will never change, with many other important properties detailed atImmutableCollection.AMapwhose contents will never change, with many other important properties detailed atImmutableCollection.ASetMultimapwhose contents will never change, with many other important properties detailed atImmutableCollection.
Traverserinstead.