Uses of Annotation Interface
com.google.common.collect.ElementTypesAreNonnullByDefault
Packages that use ElementTypesAreNonnullByDefault
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ElementTypesAreNonnullByDefault in com.google.common.collect
Classes in com.google.common.collect with annotations of type ElementTypesAreNonnullByDefaultModifier and TypeClassDescription(package private) classAbstractBiMap<K,V> A general-purpose bimap implementation using any two backingMapinstances.(package private) classThis class provides a skeletal implementation of theListIteratorinterface across a fixed number of elements that may be retrieved by position.classThis class provides a skeletal implementation of theIteratorinterface, to make this interface easier to implement for certain types of data sources.(package private) classAbstractListMultimap<K,V> Basic implementation of theListMultimapinterface.(package private) classBasic implementation of theMultimapinterface.(package private) classBasic implementation ofMultiset<E>backed by an instance ofMap<E, Count>.(package private) classAbstractMapEntry<K,V> Implementation of theequals,hashCode, andtoStringmethods ofEntry.(package private) classAbstractMultimap<K,V> A skeletonMultimapimplementation, not necessarily in terms of aMap.(package private) classThis class provides a skeletal implementation of theMultisetinterface.(package private) classAbstractNavigableMap<K,V> Skeletal implementation ofNavigableMap.(package private) classAbstractRangeSet<C extends Comparable>A skeletal implementation ofRangeSet.classThis class provides a skeletal implementation of theIteratorinterface for sequences whose next element can always be derived from the previous element.(package private) classAbstractSetMultimap<K,V> Basic implementation of theSetMultimapinterface.(package private) classBasic implementation of aSortedSetMultimapwith a sorted key set.(package private) classThis class provides a skeletal implementation of theSortedMultisetinterface.(package private) classBasic implementation of theSortedSetMultimapinterface.(package private) classAbstractTable<R,C, V> Skeletal, implementation-agnostic implementation of theTableinterface.(package private) final classAn ordering that treats all references as equals, even nulls.final classArrayListMultimap<K,V> Implementation ofMultimapthat uses anArrayListto store the values for a given key.final classArrayTable<R,C, V> Fixed-sizeTableimplementation backed by a two-dimensional array.(package private) classA dummy superclass ofImmutableMultimapthat can be instanceof'd without ProGuard retaining additional implementation details ofImmutableMultimap.interfaceBiMap<K,V> A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as that of its keys.enumIndicates whether an endpoint of some range is contained in the range itself ("closed") or not ("open").(package private) final classByFunctionOrdering<F,T> An ordering that orders elements by applying an order to the result of a function on those elements.(package private) final classImplementation ofLists.cartesianProduct(List).interfaceA map, each entry of which maps a Java raw type to an instance of that type.(package private) final classCollectors utilities forcommon.collectinternals.final classProvides static methods for working withCollectioninstances.(package private) final classPrecondition checks useful in collection implementations.(package private) final classSpliterator utilities forcommon.collectinternals.(package private) final classHelper classes and static methods for implementing compact hash-based collections.(package private) classCompactHashMap<K,V> CompactHashMap is an implementation of a Map.(package private) classCompactHashSet is an implementation of a Set.(package private) classCompactLinkedHashMap<K,V> CompactLinkedHashMap is an implementation of a Map with insertion or LRU iteration order, maintained with a doubly linked list through the entries.(package private) classCompactLinkedHashSet is an implementation of a Set, which a predictable iteration order that matches the insertion order.(package private) final classAn ordering for a pre-existing comparator.final classProvides static methods for working withComparatorinstances.classA utility for performing a chained comparison statement.(package private) final classAn ordering that tries several comparators in order.classDeprecated.final classA multiset that supports concurrent modifications and that provides atomic versions of mostMultisetoperations (exceptions where noted).(package private) final classAn Iterator implementation which draws elements from a queue, removing them from the queue as it iterates.classContiguousSet<C extends Comparable>A sorted set of contiguous values in a givenDiscreteDomain.(package private) final classA mutable value of typeint, for multisets to use in tracking counts of values.(package private) classCut<C extends Comparable>Implementation detail for the internal structure ofRangeinstances.(package private) final classDenseImmutableTable<R,C, V> ARegularImmutableTableoptimized for dense data.(package private) final classA descending wrapper around anImmutableSortedMultiset(package private) final classSkeletal implementation ofImmutableSortedSet.descendingSet().(package private) classA skeleton implementation of a descending multiset.classDiscreteDomain<C extends Comparable>A descriptor for a discreteComparabledomain such as allIntegerinstances.(package private) final classEmptyContiguousSet<C extends Comparable>An empty contiguous set.(package private) classImplementation ofImmutableListMultimapwith no entries.(package private) classImplementation ofImmutableListMultimapwith no entries.final classABiMapbacked by twoEnumMapinstances.final classEnumHashBiMap<K extends Enum<K>,V> ABiMapbacked by anEnumMapinstance for keys-to-values, and aHashMapinstance for values-to-keys.final classEnumMultiset<E extends Enum<E>>Multiset implementation specialized for enum elements, supporting all single-element operations in O(1).final classA 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.(package private) final classAn ordering that compares objects according to a given order.(package private) classImplementation ofMultimaps.filterEntries(Multimap, Predicate).(package private) final classImplementation ofMultimaps.filterEntries(SetMultimap, Predicate).(package private) final classImplementation ofMultimaps.filterKeys(ListMultimap, Predicate).(package private) classFilteredKeyMultimap<K,V> Implementation ofMultimaps.filterKeys(Multimap, Predicate).(package private) final classImplementation ofMultimaps.filterKeys(SetMultimap, Predicate).(package private) interfaceFilteredMultimap<K,V> An interface for all filtered multimap types.(package private) final classImplementation forMultimap.values().(package private) interfaceFilteredSetMultimap<K,V> A supertype for filteredSetMultimapimplementations.classA discouraged (but not deprecated) precursor to Java's superiorStreamlibrary.classDeprecated.This class has moved tocom.google.common.util.concurrent.classA collection which forwards all its method calls to another collection.classA concurrent map which forwards all its method calls to another concurrent map.classA deque which forwards all its method calls to another deque.(package private) classDummy class that makes the GWT serialization policy happy.(package private) classUnused stub class, unreferenced under Java and manually emulated under GWT.(package private) classUnused stub class, unreferenced under Java and manually emulated under GWT.(package private) classUnused stub class, unreferenced under Java and manually emulated under GWT.classAn iterator which forwards all its method calls to another iterator.classA list which forwards all its method calls to another list.classA list iterator which forwards all its method calls to another list iterator.classA list multimap which forwards all its method calls to another list multimap.classForwardingMap<K,V> A map which forwards all its method calls to another map.classForwardingMapEntry<K,V> A map entry which forwards all its method calls to another map entry.classForwardingMultimap<K,V> A multimap which forwards all its method calls to another multimap.classA multiset which forwards all its method calls to another multiset.classA navigable map which forwards all its method calls to another navigable map.classA navigable set which forwards all its method calls to another navigable set.classAn abstract base class for implementing the decorator pattern.classA queue which forwards all its method calls to another queue.classA set which forwards all its method calls to another set.classA set multimap which forwards all its method calls to another set multimap.classForwardingSortedMap<K,V> A sorted map which forwards all its method calls to another sorted map.classA sorted multiset which forwards all its method calls to another sorted multiset.classA sorted set which forwards all its method calls to another sorted set.classA sorted set multimap which forwards all its method calls to another sorted set multimap.classForwardingTable<R,C, V> A table which forwards all its method calls to another table.(package private) final classGeneralRange<T>A generalized interval on any ordering, for internal use.(package private) @interfacePrivate replacement forto work around build-system quirks.invalid reference
com.google.gwt.user.client.rpc.GwtTransientclassHashBasedTable<R,C, V> Implementation ofTableusing linked hash tables.final classHashBiMap<K,V> ABiMapbacked by two hash tables.(package private) final classStatic methods for implementing hash-based collections.final classHashMultimap<K,V> Implementation ofMultimapusing hash tables.final classHashMultiset<E>Multiset implementation backed by aHashMap.(package private) @interfaceDisables Animal Sniffer's checking of compatibility with older versions of Java/Android.(package private) classList returned byImmutableCollection.asList()that delegatescontainschecks to the backing collection.classImmutableBiMap<K,V> ABiMapwhose contents will never change, with many other important properties detailed atImmutableCollection.final classAClassToInstanceMapwhose contents will never change, with many other important properties detailed atImmutableCollection.classACollectionwhose contents will never change, and which offers a few additional guarantees detailed below.(package private) classImmutableEntry<K,V> An immutableMap.Entry, used both byMaps.immutableEntry(Object, Object)and by other parts ofcommon.collectas a superclass.(package private) final classImmutableEnumMap<K extends Enum<K>,V> Implementation ofImmutableMapbacked by a non-emptyEnumMap.(package private) final classImmutableEnumSet<E extends Enum<E>>Implementation ofImmutableSetbacked by a non-emptyEnumSet.classAListwhose contents will never change, with many other important properties detailed atImmutableCollection.classAListMultimapwhose contents will never change, with many other important properties detailed atImmutableCollection.classImmutableMap<K,V> AMapwhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) classImmutableMapEntry<K,V> Implementation ofEntryforImmutableMapthat adds extra methods to traverse hash buckets for the key and the value.(package private) classImmutableMapEntrySet<K,V> entrySet()implementation forImmutableMap.(package private) final classImmutableMapKeySet<K,V> keySet()implementation forImmutableMap.(package private) final classImmutableMapValues<K,V> values()implementation forImmutableMap.classImmutableMultimap<K,V> AMultimapwhose contents will never change, with many other important properties detailed atImmutableCollection.classAMultisetwhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) classA dummy superclass to support GWT serialization of the element type of anImmutableMultiset.classImmutableRangeMap<K extends Comparable<?>,V> ARangeMapwhose contents will never change, with many other important properties detailed atImmutableCollection.final classImmutableRangeSet<C extends Comparable>ARangeSetwhose contents will never change, with many other important properties detailed atImmutableCollection.classImmutableSet<E>ASetwhose contents will never change, with many other important properties detailed atImmutableCollection.classImmutableSetMultimap<K,V> ASetMultimapwhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) final classList returned byImmutableSortedSet.asList()when the set isn't empty.final classImmutableSortedMap<K,V> ANavigableMapwhose contents will never change, with many other important properties detailed atImmutableCollection.classASortedMultisetwhose contents will never change, with many other important properties detailed atImmutableCollection.classANavigableSetwhose contents will never change, with many other important properties detailed atImmutableCollection.classImmutableTable<R,C, V> ATablewhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) classinterfaceInterner<E>Provides similar behavior toString.intern()for any immutable type.final classContains static methods pertaining to instances ofInterner.final classAn assortment of mainly legacy static utility methods that operate on or return objects of typeIterable.final classThis class contains static utility methods that operate on or return objects of typeIterator.(package private) final classImplementation of ImmutableBiMap backed by a pair of JDK HashMaps, which have smartness protecting against hash flooding.(package private) final classImplementation of ImmutableMap backed by a JDK HashMap, which has smartness protecting against hash flooding.(package private) final classAn implementation of ImmutableMultiset backed by a JDK Map and a list of entries.(package private) final classImmutableSet implementation backed by a JDK HashSet, used to defend against apparent hash flooding.(package private) final classAn ordering which sorts iterables by comparing corresponding elements pairwise.final classLinkedHashMultimap<K,V> 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.final classAMultisetimplementation with predictable iteration order.classLinkedListMultimap<K,V> An implementation ofListMultimapthat supports deterministic iteration order for both keys and values.interfaceListMultimap<K,V> AMultimapthat can hold duplicate key-value pairs and that maintains the insertion ordering of values for a given key.final classStatic utility methods pertaining toListinstances.interfaceMapDifference<K,V> An object representing the differences between two maps.final classA builder ofConcurrentMapinstances that can have keys or values automatically wrapped in weak references.final classfinal classA 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.final classCollectors not present injava.util.stream.Collectorsthat are not otherwise associated with acom.google.commontype.interfaceMultimap<K,V> A collection that maps keys to values, similar toMap, but in which each key may be associated with multiple values.classMultimapBuilder<K0,V0> An immutable builder forMultimapinstances, letting you independently select the desired behaviors (for example, ordering) of the backing map and value-collections.final classProvides static methods acting on or generating aMultimap.interfaceMultiset<E>A collection that supports order-independent equality, likeSet, but may have duplicate elements.final classProvides static utility methods for creating and working withMultisetinstances.final classA mutable class-to-instance map backed by an arbitrary user-provided map.(package private) final classAn ordering that uses the natural order of the values.(package private) final classA utility method to perform unchecked casts to suppress errors produced by nullness analyses.(package private) final classAn ordering that treatsnullas less than all other values.(package private) final classAn ordering that treatsnullas greater than all other values.final classStatic utility methods pertaining to object arrays.classOrdering<T>A comparator, with additional methods to support common operations.interfaceAn iterator that supports a one-element lookahead while iterating.(package private) final classMethods factored out so that they can be emulated differently in GWT.final classfinal classRange<C extends Comparable>A range (or "interval") defines the boundaries around a contiguous span of values of someComparabletype; for example, "integers from 1 to 100 inclusive." Note that it is not possible to iterate over these contained values.interfaceRangeMap<K extends Comparable,V> A mapping from disjoint nonempty ranges to non-null values.interfaceRangeSet<C extends Comparable>(package private) final classRegularContiguousSet<C extends Comparable>An implementation ofContiguousSetthat contains one or more elements.(package private) classAnImmutableAsListimplementation specialized for when the delegate collection is already backed by anImmutableListor array.(package private) classBimap with zero or more mappings.(package private) classImplementation ofImmutableListbacked by a simple array.(package private) final classRegularImmutableMap<K,V> Implementation ofImmutableMapused for 0 entries and for 2+ entries.(package private) classImplementation ofImmutableMultisetwith zero or more elements.(package private) final classImplementation ofImmutableSetwith two or more elements.(package private) final classAn immutable sorted multiset with one or more distinct elements.(package private) final classAn immutable sorted set with one or more elements.(package private) classRegularImmutableTable<R,C, V> An implementation ofImmutableTableholding an arbitrary number of cells.(package private) final classAn ordering that uses the reverse of the natural order of the values.(package private) final classAn ordering that uses the reverse of a given order.interfaceRowSortedTable<R,C, V> Interface that extendsTableand whose rows are sorted.(package private) final classProvides static methods for serializing collection classes.interfaceSetMultimap<K,V> AMultimapthat cannot hold duplicate key-value pairs.final classStatic utility methods pertaining toSetinstances.(package private) final classImplementation ofImmutableMapwith exactly one entry.(package private) final classImplementation ofImmutableListwith exactly one element.(package private) final classImplementation ofImmutableSetwith exactly one element.(package private) classSingletonImmutableTable<R,C, V> An implementation ofImmutableTablethat holds a single cell.(package private) interfaceAnIterablewhose elements are sorted relative to aComparator, typically provided at creation time.(package private) final classUtilities for dealing with sorted collections of all types.(package private) final classStatic methods pertaining to sortedListinstances.interfaceSortedMapDifference<K,V> An object representing the differences between two sorted maps.interfaceAMultisetwhich maintains the ordering of its elements, according to either their natural order or an explicitComparator.(package private) interfaceSuperinterface ofSortedMultisetto introduce a bridge method forelementSet(), to ensure binary compatibility with older Guava versions that specifiedelementSet()to returnSortedSet.(package private) final classProvides static utility methods for creating and working withSortedMultisetinstances.interfaceSortedSetMultimap<K,V> ASetMultimapwhose set of values for a given key are kept sorted; that is, they comprise aSortedSet.(package private) final classSparseImmutableTable<R,C, V> ARegularImmutableTableoptimized for sparse data.(package private) classStandardRowSortedTable<R,C, V> Implementation ofTablewhose iteration ordering across row keys is sorted by their natural ordering or by a supplied comparator.(package private) classStandardTable<R,C, V> Tableimplementation backed by a map that associates row keys with column key / value secondary maps.final classStatic utility methods related toStreaminstances.(package private) final classSynchronized collection views.interfaceTable<R,C, V> A collection that associates an ordered pair of keys, called a row key and a column key, with a single value.(package private) final classCollectors utilities forcommon.collect.Tableinternals.final classProvides static methods that involve aTable.(package private) final classTopKSelector<T>An accumulator that selects the "top"kelements added to it, relative to a provided comparator.(package private) classTransformedIterator<F,T> An iterator that transforms a backing iterator; for internal use.(package private) classAn iterator that transforms a backing list iterator; for internal use.classTreeBasedTable<R,C, V> Implementation ofTablewhose row keys and column keys are ordered by their natural ordering or by supplied comparators.classTreeMultimap<K,V> Implementation ofMultimapwhose keys and values are ordered by their natural ordering or by supplied comparators.final classTreeMultiset<E>A multiset which maintains the ordering of its elements, according to either their natural order or an explicitComparator.final classTreeRangeMap<K extends Comparable,V> An implementation ofRangeMapbased on aTreeMap, supporting all optional operations.classTreeRangeSet<C extends Comparable<?>>classDeprecated.UseTraverserinstead.classAn iterator that does not supportUnmodifiableIterator.remove().classA list iterator that does not supportUnmodifiableIterator.remove(),UnmodifiableListIterator.add(E), orUnmodifiableListIterator.set(E).(package private) final classImplementation ofMultisets.unmodifiableSortedMultiset(SortedMultiset), split out into its own file so it can be GWT emulated (to deal with the differing elementSet() types in GWT and non-GWT).(package private) final classAn ordering that uses the natural order of the string representation of the values.
com.google.common.