Package | Description |
---|---|
com.google.common.cache |
This package contains caching utilities.
|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
com.google.common.io |
This package contains utility methods and classes for working with Java I/O;
for example input streams, output streams, readers, writers, and files.
|
com.google.common.net |
This package contains utility methods and classes for working with net
addresses (numeric IP and domain names).
|
com.google.common.reflect |
This package contains utilities to work with Java reflection.
|
com.google.common.util.concurrent |
Concurrency utilities.
|
Class and Description |
---|
ForwardingObject
An abstract base class for implementing the decorator pattern.
|
ImmutableMap
An immutable, hash-based
Map with reliable user-specified iteration
order. |
Class and Description |
---|
ArrayListMultimap
Implementation of
Multimap that uses an ArrayList to store
the values for a given key. |
ArrayTable
Fixed-size
Table implementation backed by a two-dimensional array. |
BiMap
A bimap (or "bidirectional map") is a map that preserves the uniqueness of
its values as well as that of its keys.
|
BoundType
Indicates whether an endpoint of some range is contained in the range itself ("closed") or not
("open").
|
ClassToInstanceMap
A map, each entry of which maps a Java
raw type to an instance of that type.
|
ComparisonChain
A utility for performing a chained comparison statement.
|
ConcurrentHashMultiset
A multiset that supports concurrent modifications and that provides atomic versions of most
Multiset operations (exceptions where noted). |
ContiguousSet
A sorted set of contiguous values in a given
DiscreteDomain . |
DiscreteDomain
A descriptor for a discrete
Comparable domain such as all
Integer instances. |
EnumBiMap
A
BiMap backed by two EnumMap instances. |
EnumHashBiMap
A
BiMap backed by an EnumMap instance for keys-to-values, and
a HashMap instance for values-to-keys. |
EnumMultiset
Multiset implementation backed by an
EnumMap . |
EvictingQueue
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.
|
FluentIterable
FluentIterable provides a rich interface for manipulating Iterable instances in a
chained fashion. |
ForwardingCollection
A collection which forwards all its method calls to another collection.
|
ForwardingDeque
A deque which forwards all its method calls to another deque.
|
ForwardingIterator
An iterator which forwards all its method calls to another iterator.
|
ForwardingMap
A map which forwards all its method calls to another map.
|
ForwardingMultimap
A multimap which forwards all its method calls to another multimap.
|
ForwardingMultiset
A multiset which forwards all its method calls to another multiset.
|
ForwardingNavigableSet
A navigable set which forwards all its method calls to another navigable set.
|
ForwardingObject
An abstract base class for implementing the decorator pattern.
|
ForwardingQueue
A queue which forwards all its method calls to another queue.
|
ForwardingSet
A set which forwards all its method calls to another set.
|
ForwardingSetMultimap
A set multimap which forwards all its method calls to another set multimap.
|
ForwardingSortedMap
A sorted map which forwards all its method calls to another sorted map.
|
ForwardingSortedSet
A sorted set which forwards all its method calls to another sorted set.
|
HashBasedTable
Implementation of
Table using hash tables. |
HashBiMap
A
BiMap backed by two hash tables. |
HashMultimap
Implementation of
Multimap using hash tables. |
HashMultiset
Multiset implementation backed by a
HashMap . |
ImmutableBiMap
An immutable
BiMap with reliable user-specified iteration order. |
ImmutableBiMap.Builder
A builder for creating immutable bimap instances, especially
public
static final bimaps ("constant bimaps"). |
ImmutableClassToInstanceMap
A class-to-instance map backed by an
ImmutableMap . |
ImmutableClassToInstanceMap.Builder
A builder for creating immutable class-to-instance maps.
|
ImmutableCollection
An immutable collection.
|
ImmutableCollection.Builder
Abstract base class for builders of
ImmutableCollection types. |
ImmutableList
A high-performance, immutable, random-access
List implementation. |
ImmutableList.Builder
A builder for creating immutable list instances, especially
public
static final lists ("constant lists"). |
ImmutableListMultimap
An immutable
ListMultimap with reliable user-specified key and value
iteration order. |
ImmutableListMultimap.Builder
A builder for creating immutable
ListMultimap instances, especially
public static final multimaps ("constant multimaps"). |
ImmutableMap
An immutable, hash-based
Map with reliable user-specified iteration
order. |
ImmutableMap.Builder
A builder for creating immutable map instances, especially
public
static final maps ("constant maps"). |
ImmutableMultimap
An immutable
Multimap . |
ImmutableMultimap.Builder
A builder for creating immutable multimap instances, especially
public static final multimaps ("constant multimaps"). |
ImmutableMultiset
An immutable hash-based multiset.
|
ImmutableMultiset.Builder
A builder for creating immutable multiset instances, especially
public static final multisets ("constant multisets"). |
ImmutableRangeMap
An immutable implementation of
RangeMap , supporting all query operations efficiently. |
ImmutableRangeMap.Builder
A builder for immutable range maps.
|
ImmutableRangeSet
An efficient immutable implementation of a
RangeSet . |
ImmutableRangeSet.Builder
A builder for immutable range sets.
|
ImmutableSet
A high-performance, immutable
Set with reliable, user-specified
iteration order. |
ImmutableSet.Builder
A builder for creating immutable set instances, especially
public
static final sets ("constant sets"). |
ImmutableSetMultimap
An immutable
SetMultimap with reliable user-specified key and value
iteration order. |
ImmutableSetMultimap.Builder
A builder for creating immutable
SetMultimap instances, especially
public static final multimaps ("constant multimaps"). |
ImmutableSortedMap
An immutable
SortedMap . |
ImmutableSortedMap.Builder
A builder for creating immutable sorted map instances, especially
public static final maps ("constant maps"). |
ImmutableSortedMultiset
An immutable
SortedMultiset that stores its elements in a sorted array. |
ImmutableSortedMultiset.Builder
A builder for creating immutable multiset instances, especially
public static final
multisets ("constant multisets"). |
ImmutableSortedSet
An immutable
SortedSet that stores its elements in a sorted array. |
ImmutableSortedSet.Builder
A builder for creating immutable sorted set instances, especially
public static final sets ("constant sets"), with a given comparator. |
ImmutableTable
An immutable
Table with reliable user-specified iteration order. |
ImmutableTable.Builder
A builder for creating immutable table instances, especially
public
static final tables ("constant tables"). |
Interner
Provides equivalent behavior to
String.intern() for other immutable
types. |
LinkedHashMultimap
Implementation of
Multimap that 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. |
LinkedHashMultiset
A
Multiset implementation with predictable iteration order. |
LinkedListMultimap
An implementation of
ListMultimap that supports deterministic
iteration order for both keys and values. |
ListMultimap
A
Multimap that can hold duplicate key-value pairs and that maintains
the insertion ordering of values for a given key. |
MapConstraint
A constraint on the keys and values that may be added to a
Map or
Multimap . |
MapDifference
An object representing the differences between two maps.
|
MapDifference.ValueDifference
A difference between the mappings from two maps with the same key.
|
MapMaker
A builder of
ConcurrentMap instances having any combination of the following features:
keys or values automatically wrapped in weak or soft references
notification of evicted (or otherwise removed) entries
on-demand computation of values for keys not already present
|
Maps.EntryTransformer
A transformation of the value of a key-value pair, using both key and value
as inputs.
|
MinMaxPriorityQueue
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.
|
MinMaxPriorityQueue.Builder
The builder class used in creation of min-max priority queues.
|
Multimap
A collection that maps keys to values, similar to
Map , but in which
each key may be associated with multiple values. |
MultimapBuilder
A builder for a multimap implementation that allows customization of the backing map and value
collection implementations used in a particular multimap.
|
MultimapBuilder.ListMultimapBuilder
A specialization of
MultimapBuilder that generates ListMultimap instances. |
MultimapBuilder.MultimapBuilderWithKeys
An intermediate stage in a
MultimapBuilder in which the key-value collection map
implementation has been specified, but the value collection implementation has not. |
MultimapBuilder.SetMultimapBuilder
A specialization of
MultimapBuilder that generates SetMultimap instances. |
MultimapBuilder.SortedSetMultimapBuilder
A specialization of
MultimapBuilder that generates SortedSetMultimap instances. |
Multiset
A collection that supports order-independent equality, like
Set , but
may have duplicate elements. |
Multiset.Entry
An unmodifiable element-count pair for a multiset.
|
MutableClassToInstanceMap
A mutable class-to-instance map backed by an arbitrary user-provided map.
|
Ordering
A comparator, with additional methods to support common operations.
|
PeekingIterator
An iterator that supports a one-element lookahead while iterating.
|
Range
A range (or "interval") defines the boundaries around a contiguous span of values of some
Comparable type; for example, "integers from 1 to 100 inclusive." Note that it is not
possible to iterate over these contained values. |
RangeMap
A mapping from disjoint nonempty ranges to non-null values.
|
RangeSet |
RowSortedTable
Interface that extends
Table and whose rows are sorted. |
SetMultimap
A
Multimap that cannot hold duplicate key-value pairs. |
Sets.SetView
An unmodifiable view of a set which may be backed by other sets; this view
will change as the backing sets do.
|
SortedMapDifference
An object representing the differences between two sorted maps.
|
SortedMultiset
A
Multiset which maintains the ordering of its elements, according to
either their natural order or an explicit Comparator . |
SortedSetMultimap
A
SetMultimap whose set of values for a given key are kept sorted;
that is, they comprise a SortedSet . |
Table
A collection that associates an ordered pair of keys, called a row key and a
column key, with a single value.
|
Table.Cell
Row key / column key / value triplet corresponding to a mapping in a table.
|
TreeBasedTable
Implementation of
Table whose row keys and column keys are ordered
by their natural ordering or by supplied comparators. |
TreeMultimap
Implementation of
Multimap whose keys and values are ordered by
their natural ordering or by supplied comparators. |
TreeMultiset
A multiset which maintains the ordering of its elements, according to either their natural order
or an explicit
Comparator . |
TreeRangeMap
An implementation of
RangeMap based on a TreeMap , supporting
all optional operations. |
TreeRangeSet |
TreeTraverser
Views elements of a type
T as nodes in a tree, and provides methods to traverse the trees
induced by this traverser. |
UnmodifiableIterator
An iterator that does not support
UnmodifiableIterator.remove() . |
UnmodifiableListIterator
A list iterator that does not support
UnmodifiableIterator.remove() , UnmodifiableListIterator.add(E) , or
UnmodifiableListIterator.set(E) . |
Class and Description |
---|
ImmutableList
A high-performance, immutable, random-access
List implementation. |
TreeTraverser
Views elements of a type
T as nodes in a tree, and provides methods to traverse the trees
induced by this traverser. |
Class and Description |
---|
ImmutableList
A high-performance, immutable, random-access
List implementation. |
ImmutableListMultimap
An immutable
ListMultimap with reliable user-specified key and value
iteration order. |
Multimap
A collection that maps keys to values, similar to
Map , but in which
each key may be associated with multiple values. |
Class and Description |
---|
ForwardingCollection
A collection which forwards all its method calls to another collection.
|
ForwardingMap
A map which forwards all its method calls to another map.
|
ForwardingObject
An abstract base class for implementing the decorator pattern.
|
ForwardingSet
A set which forwards all its method calls to another set.
|
ImmutableList
A high-performance, immutable, random-access
List implementation. |
ImmutableSet
A high-performance, immutable
Set with reliable, user-specified
iteration order. |
Class and Description |
---|
ForwardingCollection
A collection which forwards all its method calls to another collection.
|
ForwardingObject
An abstract base class for implementing the decorator pattern.
|
ForwardingQueue
A queue which forwards all its method calls to another queue.
|
ImmutableList
A high-performance, immutable, random-access
List implementation. |
ImmutableMap
An immutable, hash-based
Map with reliable user-specified iteration
order. |
ImmutableMultimap
An immutable
Multimap . |
Copyright © 2010-2014. All Rights Reserved.