Uses of Class
com.google.common.annotations.GwtCompatible
-
Packages that use GwtCompatible Package Description com.google.common.annotations Common annotation types.com.google.common.base Basic utility libraries and interfaces.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.collect.testing com.google.common.collect.testing.features com.google.common.collect.testing.google com.google.common.collect.testing.testers com.google.common.escape Interfaces, utilities, and simple implementations of escapers and encoders.com.google.common.escape.testing Testing utilities for use in tests ofcom.google.common.escape.com.google.common.html Escapers for HTML.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.math Arithmetic functions operating on primitive values andBigIntegerinstances.com.google.common.net This package contains utility methods and classes for working with net addresses (numeric IP and domain names).com.google.common.primitives Static utilities for working with the eight primitive types andvoid, and value types for treating them as unsigned.com.google.common.testing This package contains testing utilities.com.google.common.util.concurrent Concurrency utilities.com.google.common.xml Escapers for XML.com.google.thirdparty.publicsuffix -
-
Uses of GwtCompatible in com.google.common.annotations
Classes in com.google.common.annotations with annotations of type GwtCompatible Modifier and Type Class Description interfaceBetaSignifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.interfaceGwtCompatibleThe presence of this annotation on a type indicates that the type may be used with the Google Web Toolkit (GWT).interfaceGwtIncompatibleThe presence of this annotation on an API indicates that the method may not be used with the Google Web Toolkit (GWT).interfaceVisibleForTestingAnnotates a program element that exists, or is more widely visible than otherwise necessary, only for use in test code. -
Uses of GwtCompatible in com.google.common.base
Classes in com.google.common.base with annotations of type GwtCompatible Modifier and Type Class Description (package private) classAbsent<T>Implementation of anOptionalnot containing a reference.(package private) classAbstractIterator<T>Note this class is a copy ofAbstractIterator(for dependency reasons).classAsciiStatic methods pertaining to ASCII characters (those in the range of values0x00through0x7F), and to strings containing such characters.classCaseFormatUtility class for converting between various ASCII case formats.classCharMatcherclassCharsetsContains constant definitions for the six standardCharsetinstances, which are guaranteed to be supported by all Java platform implementations.(package private) classCommonMatcherThe subset of theMatcherAPI which is used by this package, and also shared with there2jlibrary.(package private) classCommonPatternThe subset of thePatternAPI which is used by this package, and also shared with there2jlibrary.classConverter<A,B>A function fromAtoBwith an associated reverse function fromBtoA; used for converting back and forth between different representations of the same information.classEnumsUtility methods for working withEnuminstances.classEquivalence<T>A strategy for determining whether two instances are considered equivalent, and for computing hash codes in a manner consistent with that equivalence.(package private) classExtraObjectsMethodsForWebHolder for extra methods ofObjectsonly in web.interfaceFunction<F,T>Legacy version ofjava.util.function.Function.(package private) classFunctionalEquivalence<F,T>Equivalence applied on functional result.classFunctionsStatic utility methods pertaining tocom.google.common.base.Functioninstances; see that class for information about migrating tojava.util.function.classJoinerAn object which joins pieces of text (specified as an array,Iterable, varargs or even aMap) with a separator.classMoreObjectsHelper functions that operate on anyObject, and are not already provided inObjects.classObjectsHelper functions that can operate on anyObject.classOptional<T>An immutable object that may contain a non-null reference to another object.(package private) classPairwiseEquivalence<T>(package private) classPlatformMethods factored out so that they can be emulated differently in GWT.classPreconditionsStatic convenience methods that help a method or constructor check whether it was invoked correctly (that is, whether its preconditions were met).interfacePredicate<T>Legacy version ofjava.util.function.Predicate.classPredicatesStatic utility methods pertaining toPredicateinstances.(package private) classPresent<T>Implementation of anOptionalcontaining a reference.classSplitterExtracts non-overlapping substrings from an input string, typically by recognizing appearances of a separator sequence.classStopwatchAn object that measures elapsed time in nanoseconds.classStringsStatic utility methods pertaining toStringorCharSequenceinstances.interfaceSupplier<T>Legacy version ofjava.util.function.Supplier.classSuppliersUseful suppliers.classThrowablesStatic utility methods pertaining to instances ofThrowable.classTickerA time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time.classUtf8Low-level, high-performance utility methods related to the UTF-8 character encoding.classVerifyStatic convenience methods that serve the same purpose as Java language assertions, except that they are always enabled.classVerifyExceptionException thrown upon the failure of a verification check, including those performed by the convenience methods of theVerifyclass.Methods in com.google.common.base with annotations of type GwtCompatible Modifier and Type Method Description static <T> Predicate<T>Predicates. alwaysFalse()Returns a predicate that always evaluates tofalse.static <T> Predicate<T>Predicates. alwaysTrue()Returns a predicate that always evaluates totrue.static <T> Predicate<T>Predicates. isNull()Returns a predicate that evaluates totrueif the object reference being tested is null.static <T> Predicate<T>Predicates. notNull()Returns a predicate that evaluates totrueif the object reference being tested is not null.<S extends T>
Equivalence<java.lang.Iterable<S>>Equivalence. pairwise()Returns an equivalence over iterables based on the equivalence of their elements. -
Uses of GwtCompatible in com.google.common.cache
Classes in com.google.common.cache with annotations of type GwtCompatible Modifier and Type Class Description classAbstractCache<K,V>This class provides a skeletal implementation of theCacheinterface to minimize the effort required to implement this interface.interfaceCache<K,V>A semi-persistent mapping from keys to values.classCacheBuilder<K,V>A builder ofLoadingCacheandCacheinstances having any combination of the following features: automatic loading of entries into the cache least-recently-used eviction when a maximum size is exceeded time-based expiration of entries, measured since last access or last write keys automatically wrapped in weak references values automatically wrapped in weak or soft references notification of evicted (or otherwise removed) entries accumulation of cache access statisticsclassCacheLoader<K,V>Computes or retrieves values, based on a key, for use in populating aLoadingCache.classCacheStatsStatistics about the performance of aCache.interfaceLoadingCache<K,V>A semi-persistent mapping from keys to values.(package private) classLocalCache<K,V>The concurrent hash map implementation built byCacheBuilder.(package private) interfaceLongAddableAbstract interface for objects that can concurrently add longs.(package private) classLongAddablesSource ofLongAddableobjects that deals with GWT, Unsafe, and all that.(package private) classLongAdderOne or more variables that together maintain an initially zerolongsum.classRemovalCauseThe reason why a cached entry was removed.interfaceRemovalListener<K,V>An object that can receive a notification when an entry is removed from a cache.classRemovalNotification<K,V>A notification of the removal of a single entry.interfaceWeigher<K,V>Calculates the weights of cache entries. -
Uses of GwtCompatible in com.google.common.collect
Classes in com.google.common.collect with annotations of type GwtCompatible Modifier and Type Class Description (package private) classAbstractBiMap<K,V>A general-purpose bimap implementation using any two backingMapinstances.(package private) classAbstractIndexedListIterator<E>This class provides a skeletal implementation of theListIteratorinterface across a fixed number of elements that may be retrieved by position.classAbstractIterator<T>This 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) classAbstractMapBasedMultimap<K,V>Basic implementation of theMultimapinterface.(package private) classAbstractMapBasedMultiset<E>Basic 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) classAbstractMultiset<E>This class provides a skeletal implementation of theMultisetinterface.classAbstractSequentialIterator<T>This 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) classAbstractSortedKeySortedSetMultimap<K,V>Basic implementation of aSortedSetMultimapwith a sorted key set.(package private) classAbstractSortedMultiset<E>This class provides a skeletal implementation of theSortedMultisetinterface.(package private) classAbstractSortedSetMultimap<K,V>Basic implementation of theSortedSetMultimapinterface.(package private) classAbstractTable<R,C,V>Skeletal, implementation-agnostic implementation of theTableinterface.(package private) classAllEqualOrderingAn ordering that treats all references as equals, even nulls.classArrayListMultimap<K,V>Implementation ofMultimapthat uses anArrayListto store the values for a given key.(package private) classArrayListMultimapGwtSerializationDependencies<K,V>A dummy superclass to support GWT serialization of the element types of anArrayListMultimap.classArrayTable<R,C,V>Fixed-sizeTableimplementation backed by a two-dimensional array.(package private) classBaseImmutableMultimap<K,V>A 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.classBoundTypeIndicates whether an endpoint of some range is contained in the range itself ("closed") or not ("open").(package private) classByFunctionOrdering<F,T>An ordering that orders elements by applying an order to the result of a function on those elements.(package private) classCartesianList<E>Implementation ofLists.cartesianProduct(List).interfaceClassToInstanceMap<B>A map, each entry of which maps a Java raw type to an instance of that type.(package private) classCollectCollectorsCollectors utilities forcommon.collectinternals.classCollections2Provides static methods for working withCollectioninstances.(package private) classCollectPreconditionsPrecondition checks useful in collection implementations.(package private) classCollectSpliteratorsSpliterator utilities forcommon.collectinternals.(package private) classComparatorOrdering<T>An ordering for a pre-existing comparator.classComparatorsProvides static methods for working withComparatorinstances.classComparisonChainA utility for performing a chained comparison statement.(package private) classCompoundOrdering<T>An ordering that tries several comparators in order.classComputationExceptionWraps an exception that occurred during a computation.(package private) classConsumingQueueIterator<T>An Iterator implementation which draws elements from a queue, removing them from the queue as it iterates.classContiguousSet<C extends java.lang.Comparable>A sorted set of contiguous values in a givenDiscreteDomain.(package private) classCountA mutable value of typeint, for multisets to use in tracking counts of values.(package private) classCut<C extends java.lang.Comparable>Implementation detail for the internal structure ofRangeinstances.(package private) classDenseImmutableTable<R,C,V>ARegularImmutableTableoptimized for dense data.(package private) classDescendingMultiset<E>A skeleton implementation of a descending multiset.classDiscreteDomain<C extends java.lang.Comparable>A descriptor for a discreteComparabledomain such as allIntegerinstances.(package private) classEmptyContiguousSet<C extends java.lang.Comparable>An empty contiguous set.(package private) classEmptyImmutableListMultimapImplementation ofImmutableListMultimapwith no entries.(package private) classEmptyImmutableSetMultimapImplementation ofImmutableListMultimapwith no entries.classEnumBiMap<K extends java.lang.Enum<K>,V extends java.lang.Enum<V>>ABiMapbacked by twoEnumMapinstances.classEnumHashBiMap<K extends java.lang.Enum<K>,V>ABiMapbacked by anEnumMapinstance for keys-to-values, and aHashMapinstance for values-to-keys.classEnumMultiset<E extends java.lang.Enum<E>>Multiset implementation specialized for enum elements, supporting all single-element operations in O(1).classEvictingQueue<E>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.(package private) classExplicitOrdering<T>An ordering that compares objects according to a given order.(package private) classFilteredEntryMultimap<K,V>Implementation ofMultimaps.filterEntries(Multimap, Predicate).(package private) classFilteredEntrySetMultimap<K,V>Implementation ofMultimaps.filterEntries(SetMultimap, Predicate).(package private) classFilteredKeyListMultimap<K,V>Implementation ofMultimaps.filterKeys(ListMultimap, Predicate).(package private) classFilteredKeyMultimap<K,V>Implementation ofMultimaps.filterKeys(Multimap, Predicate).(package private) classFilteredKeySetMultimap<K,V>Implementation ofMultimaps.filterKeys(SetMultimap, Predicate).(package private) interfaceFilteredMultimap<K,V>An interface for all filtered multimap types.(package private) classFilteredMultimapValues<K,V>Implementation forMultimap.values().(package private) interfaceFilteredSetMultimap<K,V>A supertype for filteredSetMultimapimplementations.classFluentIterable<E>A discouraged (but not deprecated) precursor to Java's superiorStreamlibrary.classForwardingCollection<E>A collection which forwards all its method calls to another collection.classForwardingConcurrentMap<K,V>A concurrent map which forwards all its method calls to another concurrent map.(package private) classForwardingImmutableCollectionDummy class that makes the GWT serialization policy happy.(package private) classForwardingImmutableList<E>Unused stub class, unreferenced under Java and manually emulated under GWT.(package private) classForwardingImmutableMap<K,V>Unused stub class, unreferenced under Java and manually emulated under GWT.(package private) classForwardingImmutableSet<E>Unused stub class, unreferenced under Java and manually emulated under GWT.classForwardingIterator<T>An iterator which forwards all its method calls to another iterator.classForwardingList<E>A list which forwards all its method calls to another list.classForwardingListIterator<E>A list iterator which forwards all its method calls to another list iterator.classForwardingListMultimap<K,V>A 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.classForwardingMultiset<E>A multiset which forwards all its method calls to another multiset.classForwardingObjectAn abstract base class for implementing the decorator pattern.classForwardingQueue<E>A queue which forwards all its method calls to another queue.classForwardingSet<E>A set which forwards all its method calls to another set.classForwardingSetMultimap<K,V>A 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.classForwardingSortedMultiset<E>A sorted multiset which forwards all its method calls to another sorted multiset.classForwardingSortedSet<E>A sorted set which forwards all its method calls to another sorted set.classForwardingSortedSetMultimap<K,V>A 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) classGeneralRange<T>A generalized interval on any ordering, for internal use.(package private) interfaceGwtTransientPrivate replacement forcom.google.gwt.user.client.rpc.GwtTransientto work around build-system quirks.classHashBasedTable<R,C,V>Implementation ofTableusing linked hash tables.classHashBiMap<K,V>ABiMapbacked by two hash tables.(package private) classHashingStatic methods for implementing hash-based collections.classHashMultimap<K,V>Implementation ofMultimapusing hash tables.(package private) classHashMultimapGwtSerializationDependencies<K,V>A dummy superclass to support GWT serialization of the element types of aHashMultimap.classHashMultiset<E>Multiset implementation backed by aHashMap.(package private) classImmutableAsList<E>List returned byImmutableCollection.asList()that delegatescontainschecks to the backing collection.classImmutableBiMap<K,V>ABiMapwhose contents will never change, with many other important properties detailed atImmutableCollection.classImmutableCollection<E>ACollectionwhose contents will never change, and which offers a few additional guarantees detailed below.(package private) classImmutableEntry<K,V>(package private) classImmutableEnumMap<K extends java.lang.Enum<K>,V>Implementation ofImmutableMapbacked by a non-emptyEnumMap.(package private) classImmutableEnumSet<E extends java.lang.Enum<E>>Implementation ofImmutableSetbacked by a non-emptyEnumSet.classImmutableList<E>AListwhose contents will never change, with many other important properties detailed atImmutableCollection.classImmutableListMultimap<K,V>AListMultimapwhose 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) classImmutableMapEntrySet<K,V>entrySet()implementation forImmutableMap.(package private) classImmutableMapKeySet<K,V>keySet()implementation forImmutableMap.(package private) classImmutableMapValues<K,V>values()implementation forImmutableMap.classImmutableMultimap<K,V>AMultimapwhose contents will never change, with many other important properties detailed atImmutableCollection.classImmutableMultiset<E>AMultisetwhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) classImmutableMultisetGwtSerializationDependencies<E>A dummy superclass to support GWT serialization of the element type of anImmutableMultiset.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) classImmutableSortedAsList<E>List returned byImmutableSortedSet.asList()when the set isn't empty.classImmutableSortedMap<K,V>ANavigableMapwhose contents will never change, with many other important properties detailed atImmutableCollection.classImmutableSortedSet<E>ANavigableSetwhose 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) classIndexedImmutableSet<E>classIterablesAn assortment of mainly legacy static utility methods that operate on or return objects of typeIterable.classIteratorsThis class contains static utility methods that operate on or return objects of typeIterator.(package private) classJdkBackedImmutableBiMap<K,V>Implementation of ImmutableBiMap backed by a pair of JDK HashMaps, which have smartness protecting against hash flooding.(package private) classJdkBackedImmutableMap<K,V>Implementation of ImmutableMap backed by a JDK HashMap, which has smartness protecting against hash flooding.(package private) classJdkBackedImmutableMultiset<E>An implementation of ImmutableMultiset backed by a JDK Map and a list of entries.(package private) classJdkBackedImmutableSet<E>ImmutableSet implementation backed by a JDK HashSet, used to defend against apparent hash flooding.(package private) classLexicographicalOrdering<T>An ordering which sorts iterables by comparing corresponding elements pairwise.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.(package private) classLinkedHashMultimapGwtSerializationDependencies<K,V>A dummy superclass to support GWT serialization of the element types of aLinkedHashMultimap.classLinkedHashMultiset<E>AMultisetimplementation 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.classListsStatic utility methods pertaining toListinstances.interfaceMapDifference<K,V>An object representing the differences between two maps.classMapMakerA builder ofConcurrentMapinstances that can have keys or values automatically wrapped in weak references.classMaps(package private) static classMaps.ViewCachingAbstractMap<K,V>AbstractMapextension that makes it easy to cache customized keySet, values, and entrySet views.classMinMaxPriorityQueue<E>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.classMoreCollectorsCollectors 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>A builder for a multimap implementation that allows customization of the backing map and value collection implementations used in a particular multimap.classMultimapsProvides static methods acting on or generating aMultimap.interfaceMultiset<E>A collection that supports order-independent equality, likeSet, but may have duplicate elements.classMultisetsProvides static utility methods for creating and working withMultisetinstances.(package private) classNaturalOrderingAn ordering that uses the natural order of the values.(package private) classNullsFirstOrdering<T>An ordering that treatsnullas less than all other values.(package private) classNullsLastOrdering<T>An ordering that treatsnullas greater than all other values.classObjectArraysStatic utility methods pertaining to object arrays.classOrdering<T>A comparator, with additional methods to support common operations.interfacePeekingIterator<E>An iterator that supports a one-element lookahead while iterating.(package private) classPlatformMethods factored out so that they can be emulated differently in GWT.classQueuesStatic utility methods pertaining toQueueandDequeinstances.classRange<C extends java.lang.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.(package private) classRangeGwtSerializationDependencies<C extends java.lang.Comparable>A dummy superclass to support GWT serialization of the element type of aRange.(package private) classRegularContiguousSet<C extends java.lang.Comparable>An implementation ofContiguousSetthat contains one or more elements.(package private) classRegularImmutableAsList<E>AnImmutableAsListimplementation specialized for when the delegate collection is already backed by anImmutableListor array.(package private) classRegularImmutableBiMap<K,V>Bimap with zero or more mappings.(package private) classRegularImmutableList<E>Implementation ofImmutableListbacked by a simple array.(package private) classRegularImmutableMap<K,V>Implementation ofImmutableMapwith two or more entries.private static classRegularImmutableMap.KeySet<K,V>private static classRegularImmutableMap.Values<K,V>(package private) classRegularImmutableMultiset<E>Implementation ofImmutableMultisetwith zero or more elements.(package private) classRegularImmutableSet<E>Implementation ofImmutableSetwith two or more elements.(package private) classRegularImmutableSortedSet<E>An immutable sorted set with one or more elements.(package private) classRegularImmutableTable<R,C,V>An implementation ofImmutableTableholding an arbitrary number of cells.(package private) classReverseNaturalOrderingAn ordering that uses the reverse of the natural order of the values.(package private) classReverseOrdering<T>An ordering that uses the reverse of a given order.interfaceRowSortedTable<R,C,V>Interface that extendsTableand whose rows are sorted.interfaceSetMultimap<K,V>AMultimapthat cannot hold duplicate key-value pairs.classSetsStatic utility methods pertaining toSetinstances.(package private) classSingletonImmutableBiMap<K,V>Implementation ofImmutableMapwith exactly one entry.(package private) classSingletonImmutableList<E>Implementation ofImmutableListwith exactly one element.(package private) classSingletonImmutableSet<E>Implementation ofImmutableSetwith exactly one element.(package private) classSingletonImmutableTable<R,C,V>An implementation ofImmutableTablethat holds a single cell.(package private) interfaceSortedIterable<T>AnIterablewhose elements are sorted relative to aComparator, typically provided at creation time.(package private) classSortedIterablesUtilities for dealing with sorted collections of all types.(package private) classSortedListsStatic methods pertaining to sortedListinstances.interfaceSortedMapDifference<K,V>An object representing the differences between two sorted maps.interfaceSortedMultiset<E>AMultisetwhich maintains the ordering of its elements, according to either their natural order or an explicitComparator.(package private) classSortedMultisetsProvides 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) 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.classStreamsStatic utility methods related toStreaminstances.(package private) classSynchronizedSynchronized 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.classTablesProvides static methods that involve aTable.(package private) 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) classTransformedListIterator<F,T>An 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.classTreeMultiset<E>A multiset which maintains the ordering of its elements, according to either their natural order or an explicitComparator.classTreeTraverser<T>Deprecated.UseTraverserinstead.classUnmodifiableIterator<E>An iterator that does not supportUnmodifiableIterator.remove().classUnmodifiableListIterator<E>A list iterator that does not supportUnmodifiableIterator.remove(),UnmodifiableListIterator.add(E), orUnmodifiableListIterator.set(E).(package private) classUnmodifiableSortedMultiset<E>Implementation 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) classUsingToStringOrderingAn ordering that uses the natural order of the string representation of the values.Methods in com.google.common.collect with annotations of type GwtCompatible Modifier and Type Method Description static Ordering<java.lang.Object>Ordering. allEqual()Returns an ordering which treats all values as equal, indicating "no ordering." Passing this ordering to any stable sort algorithm results in no change to the order of elements.static <T> Ordering<T>Ordering. compound(java.lang.Iterable<? extends java.util.Comparator<? super T>> comparators)Returns an ordering which tries each given comparator in order until a non-zero result is found, returning that result, and returning zero only if all comparators return zero.<U extends T>
Ordering<U>Ordering. compound(java.util.Comparator<? super U> secondaryComparator)Returns an ordering which first uses the orderingthis, but which in the event of a "tie", then delegates tosecondaryComparator.static <T> Ordering<T>Ordering. explicit(java.util.List<T> valuesInOrder)Returns an ordering that compares objects according to the order in which they appear in the given list.static <T> Ordering<T>Ordering. explicit(T leastValue, T... remainingValuesInOrder)Returns an ordering that compares objects according to the order in which they are given to this method.static <T> Ordering<T>Ordering. from(Ordering<T> ordering)Deprecated.no need to use thisstatic <T> Ordering<T>Ordering. from(java.util.Comparator<T> comparator)Returns an ordering based on an existing comparator instance.static <K,V>
java.util.Map.Entry<K,V>Maps. immutableEntry(K key, V value)Returns an immutable map entry with the specified key and value.static <K extends java.lang.Enum<K>,V>
ImmutableMap<K,V>Maps. immutableEnumMap(java.util.Map<K,? extends V> map)Returns an immutable map instance containing the given entries.static <E extends java.lang.Enum<E>>
ImmutableSet<E>Sets. immutableEnumSet(E anElement, E... otherElements)Returns an immutable set instance containing the given enum elements.static <E extends java.lang.Enum<E>>
ImmutableSet<E>Sets. immutableEnumSet(java.lang.Iterable<E> elements)Returns an immutable set instance containing the given enum elements.<S extends T>
Ordering<java.lang.Iterable<S>>Ordering. lexicographical()Returns a new ordering which sorts iterables by comparing corresponding elements pairwise until a nonzero result is found; imposes "dictionary order".static <C extends java.lang.Comparable>
Ordering<C>Ordering. natural()Returns a serializable ordering that uses the natural order of the values.static <E> java.util.ArrayList<E>Lists. newArrayList()Creates a mutable, emptyArrayListinstance (for Java 6 and earlier).static <E> java.util.ArrayList<E>Lists. newArrayList(E... elements)Creates a mutableArrayListinstance containing the given elements.static <E> java.util.ArrayList<E>Lists. newArrayList(java.lang.Iterable<? extends E> elements)Creates a mutableArrayListinstance containing the given elements; a very thin shortcut for creating an empty list then callingIterables.addAll(java.util.Collection<T>, java.lang.Iterable<? extends T>).static <E> java.util.ArrayList<E>Lists. newArrayList(java.util.Iterator<? extends E> elements)Creates a mutableArrayListinstance containing the given elements; a very thin shortcut for creating an empty list and then callingIterators.addAll(java.util.Collection<T>, java.util.Iterator<? extends T>).static <E> java.util.ArrayList<E>Lists. newArrayListWithCapacity(int initialArraySize)Creates anArrayListinstance backed by an array with the specified initial size; simply delegates toArrayList(int).static <E> java.util.ArrayList<E>Lists. newArrayListWithExpectedSize(int estimatedSize)Creates anArrayListinstance to holdestimatedSizeelements, plus an unspecified amount of padding; you almost certainly mean to callLists.newArrayListWithCapacity(int)(see that method for further advice on usage).static <E> java.util.LinkedList<E>Lists. newLinkedList()Creates a mutable, emptyLinkedListinstance (for Java 6 and earlier).static <E> java.util.LinkedList<E>Lists. newLinkedList(java.lang.Iterable<? extends E> elements)Creates a mutableLinkedListinstance containing the given elements; a very thin shortcut for creating an empty list then callingIterables.addAll(java.util.Collection<T>, java.lang.Iterable<? extends T>).<S extends T>
Ordering<S>Ordering. nullsFirst()Returns an ordering that treatsnullas less than all other values and usesthisto compare non-null values.<S extends T>
Ordering<S>Ordering. nullsLast()Returns an ordering that treatsnullas greater than all other values and uses this ordering to compare non-null values.<F> Ordering<F>Ordering. onResultOf(Function<F,? extends T> function)Returns a new ordering onFwhich orders elements by first applying a function to them, then comparing those results usingthis.static <E> java.util.Set<java.util.Set<E>>Sets. powerSet(java.util.Set<E> set)Returns the set of all possible subsets ofset.<S extends T>
Ordering<S>Ordering. reverse()Returns the reverse of this ordering; theOrderingequivalent toCollections.reverseOrder(Comparator).static Ordering<java.lang.Object>Ordering. usingToString()Returns an ordering that compares objects by the natural ordering of their string representations as returned bytoString(). -
Uses of GwtCompatible in com.google.common.collect.testing
Classes in com.google.common.collect.testing with annotations of type GwtCompatible Modifier and Type Class Description classAbstractCollectionTester<E>Base class for collection testers.classAbstractContainerTester<C,E>Base class for testers of classes (includingCollectionandMap) that contain elements.(package private) classAbstractIteratorTester<E,I extends java.util.Iterator<E>>Most of the logic forIteratorTesterandListIteratorTester.classAbstractMapTester<K,V>Base class for map testers.classAbstractTester<G>This abstract base class for testers allows the framework to inject needed information after JUnit constructs the instances.classAnEnumA sample enumerated type we use for testing.classBaseComparableSimple base class to verify that we handle generics correctly.classDerivedCollectionGeneratorsDerived suite generators, split out of the suite builders so that they are available to GWT.classDerivedComparableSimple derived class to verify that we handle generics correctly.interfaceDerivedGeneratorA generator that relies on a preexisting generator for most of its work.classDerivedTestIteratorGenerator<E>Adapts a test iterable generator to give a TestIteratorGenerator.classHelpersclassIteratorFeatureA method supported by implementations of theIteratororListIteratorinterface.classIteratorTester<E>A utility for testing an Iterator implementation by comparing its behavior to that of a "known good" reference implementation.classListIteratorTester<E>A utility similar toIteratorTesterfor testing aListIteratoragainst a known good reference implementation.classMapInterfaceTest<K,V>Tests representing the contract ofMap.classMinimalCollection<E>A simplistic collection which implements only the bare minimum allowed by the spec, and throws exceptions whenever it can.classMinimalIterable<E>An implementation ofIterablewhich throws an exception on all invocations of theMinimalIterable.iterator()method after the first, and whose iterator is always unmodifiable.classMinimalSet<E>A simplistic set which implements the bare minimum so that it can be used in tests without relying on any specific Set implementations.classOneSizeGenerator<T,E>Generator for collection of a particular size.interfaceOneSizeTestContainerGenerator<T,E>The subject-generator interface accepted by Collection testers, for testing a Collection at one particularCollectionSize.(package private) classPlatformMethods factored out so that they can be emulated differently in GWT.classSampleElements<E>A container class for the five sample elements we need for testing.classSortedMapInterfaceTest<K,V>Tests representing the contract ofSortedMap.classSpliteratorTester<E>Tester forSpliteratorimplementations.classTestCharacterListGeneratorGeneratesList<Character>instances for test suites.interfaceTestCollectionGenerator<E>Creates collections, containing sample elements, to be tested.classTestCollidingSetGeneratorA generator using sample elements whose hash codes all collide badly.interfaceTestContainerGenerator<T,E>To be implemented by test generators of things that can contain elements.classTestEnumMapGeneratorImplementation helper forTestMapGeneratorfor use with enum maps.classTestEnumSetGeneratorAn abstract TestSetGenerator for generating sets containing enum values.classTestIntegerSetGeneratorCreate integer sets for collection tests.classTestIntegerSortedSetGeneratorCreate integer sets for testing collections that are sorted by natural ordering.interfaceTestIteratorGenerator<E>Creates iterators to be tested.interfaceTestListGenerator<E>Creates sets, containing sample elements, to be tested.classTestMapEntrySetGenerator<K,V>Creates map entries using sample keys and sample values.interfaceTestMapGenerator<K,V>Creates maps, containing sample elements, to be tested.interfaceTestQueueGenerator<E>Creates queues, containing sample elements, to be tested.interfaceTestSetGenerator<E>Creates sets, containing sample elements, to be tested.interfaceTestSortedMapGenerator<K,V>Creates sorted maps, containing sample elements, to be tested.interfaceTestSortedSetGenerator<E>Creates sorted sets, containing sample elements, to be tested.classTestStringCollectionGeneratorString creation for testing arbitrary collections.classTestStringListGeneratorTODO: javadoc.classTestStringMapGeneratorImplementation helper forTestMapGeneratorfor use with maps of strings.classTestStringQueueGeneratorCreate queue of strings for tests.classTestStringSetGeneratorCreate string sets for collection tests.classTestStringSortedMapGeneratorImplementation helper forTestMapGeneratorfor use with sorted maps of strings.classTestStringSortedSetGeneratorCreate string sets for testing collections that are sorted by natural ordering.interfaceTestSubjectGenerator<T>To be implemented by test generators that can produce test subjects without requiring any parameters.classTestUnhashableCollectionGenerator<T extends java.util.Collection<UnhashableObject>>Creates collections containing unhashable sample elements, to be tested.classUnhashableObjectAn unhashable object to be used in testing as values in our collections.classWrongTypeA type which will never be used as the element type of any collection in our tests, and so can be used to test how a Collection behaves when given input of the wrong type. -
Uses of GwtCompatible in com.google.common.collect.testing.features
Classes in com.google.common.collect.testing.features with annotations of type GwtCompatible Modifier and Type Class Description classCollectionFeatureOptional features of classes derived fromCollection.classCollectionSizeWhen describing the features of the collection produced by a given generator (i.e.classConflictingRequirementsExceptionThrown when requirements on a tester method or class conflict with each other.interfaceFeature<T>Base class for enumerating the features of an interface to be tested.classListFeatureOptional features of classes derived fromList.classMapFeatureOptional features of classes derived fromMap.classSetFeatureOptional features of classes derived fromSet.interfaceTesterAnnotationUse this to meta-annotateXxxFeature.Requireannotations, so that those annotations can be used to decide whether to apply a test to a given class-under-test.classTesterRequirementsEncapsulates the constraints that a class under test must satisfy in order for a tester method to be run against that class. -
Uses of GwtCompatible in com.google.common.collect.testing.google
Classes in com.google.common.collect.testing.google with annotations of type GwtCompatible Modifier and Type Class Description classAbstractBiMapTester<K,V>Skeleton for a tester of aBiMap.classAbstractListMultimapTester<K,V>Superclass for allListMultimaptesters.classAbstractMultimapTester<K,V,M extends Multimap<K,V>>Superclass for allMultimaptesters.classAbstractMultisetSetCountTester<E>Common superclass forMultisetSetCountUnconditionallyTesterandMultisetSetCountConditionallyTester.classAbstractMultisetTester<E>Base class for multiset collection tests.classBiMapClearTester<K,V>Tester forBiMap.clear.classBiMapEntrySetTester<K,V>Tester forBiMap.entrySetand methods on the entries in the set.classBiMapGeneratorsGenerators of variousBiMaps and derived collections.classBiMapInverseTester<K,V>Tests for theinverseview of a BiMap.classBiMapPutTester<K,V>Tester forBiMap.putandBiMap.forcePut.classBiMapRemoveTester<K,V>Tester forBiMap.remove.classDerivedGoogleCollectionGeneratorsDerived suite generators for Guava collection interfaces, split out of the suite builders so that they are available to GWT.(package private) classGoogleHelpersHelper methods/assertions for use withcom.google.common.collecttypes.classListGeneratorsCommon generators of different types of lists.classListMultimapAsMapTester<K,V>Testers forListMultimap.asMap().classListMultimapEqualsTester<K,V>Testers forListMultimap.equals(Object).classListMultimapPutAllTester<K,V>Testers forMultimap.putAll(Object, Iterable).classListMultimapPutTester<K,V>Testers forMultimap.put(Object, Object).classListMultimapRemoveTester<K,V>Testers forMultimap.remove(Object, Object).classListMultimapReplaceValuesTester<K,V>Testers forListMultimap.replaceValues(Object, Iterable).classMapGeneratorsGenerators of different types of map and related collections, such as keys, entries and values.classMultimapAsMapGetTester<K,V>Tests forMultimap.asMap().get(Object).classMultimapAsMapTester<K,V>Tests forMultimap.asMap().classMultimapClearTester<K,V>Tests forMultimap.clear().classMultimapContainsEntryTester<K,V>classMultimapContainsKeyTester<K,V>Tester for thecontainsKeymethods ofMultimapand itsasMap()view.classMultimapContainsValueTester<K,V>Tester forMultimap.containsValue(java.lang.Object).classMultimapEntriesTester<K,V>Tester forMultimap.entries.classMultimapEqualsTester<K,V>Tester forMultimap.equals.classMultimapFeatureOptional features of classes derived fromMultimap.classMultimapForEachTester<K,V>classMultimapGetTester<K,V>Tests forMultimap.get(Object).classMultimapKeySetTester<K,V>Tester forMultimap.keySet.classMultimapKeysTester<K,V>Tester forMultimap.entries.classMultimapPutAllMultimapTester<K,V>Tester forMultimap.putAll(Multimap).classMultimapPutIterableTester<K,V>Tests forMultimap.putAll(Object, Iterable).classMultimapPutTester<K,V>Tester forMultimap.put(K, V).classMultimapRemoveAllTester<K,V>Tests forMultimap.removeAll(Object).classMultimapRemoveEntryTester<K,V>Tests forMultimap.remove(Object, Object).classMultimapReplaceValuesTester<K,V>Tests forMultimap.replaceValues(Object, Iterable).classMultimapSizeTester<K,V>Tester for thesizemethods ofMultimapand its views.classMultimapToStringTester<K,V>Tester forMultimap.toString().classMultimapValuesTester<K,V>Tester forMultimap.values.classMultisetAddTester<E>Tests forMultiset.add.classMultisetContainsTester<E>Tests forMultiset.containsAllnot already addressed byCollectionContainsTester.classMultisetCountTester<E>Tests forMultiset#count.classMultisetElementSetTester<E>Tests forMultiset.elementSet()not covered by the derivedSetTestSuiteBuilder.classMultisetEntrySetTester<E>Tests forMultiset.entrySet.classMultisetEqualsTester<E>Tests forMultiset.equalsandMultiset.hashCode.classMultisetFeatureOptional features of classes derived fromMultiset.classMultisetForEachEntryTester<E>Tests forMultiset#forEachEntry.classMultisetIteratorTester<E>Tester to make sure theiterator().remove()implementation ofMultisetworks when there are multiple occurrences of elements.classMultisetNavigationTester<E>Tester for navigation of SortedMultisets.classMultisetReadsTester<E>A generic JUnit test which tests multiset-specific read operations.classMultisetRemoveTester<E>Tests forMultiset#remove,Multiset.removeAll, andMultiset.retainAllnot already covered by the corresponding Collection testers.classMultisetSerializationTester<E>A generic JUnit test which tests multiset-specific serialization.classMultisetSetCountConditionallyTester<E>A generic JUnit test which tests conditionalsetCount()operations on a multiset.classMultisetSetCountUnconditionallyTester<E>A generic JUnit test which tests unconditionalsetCount()operations on a multiset.classSetGeneratorsGenerators of different types of sets and derived collections from sets.classSetMultimapAsMapTester<K,V>Testers forSetMultimap.asMap().classSetMultimapEqualsTester<K,V>Testers forSetMultimap.equals(Object).classSetMultimapPutAllTester<K,V>classSetMultimapPutTester<K,V>classSetMultimapReplaceValuesTester<K,V>classSortedMapGeneratorsGenerators of sorted maps and derived collections.classSortedSetMultimapAsMapTester<K,V>Testers forSortedSetMultimap.asMap().classSortedSetMultimapGetTester<K,V>Tester forSortedSetMultimap.get(Object).interfaceTestBiMapGenerator<K,V>Creates bimaps, containing sample entries, to be tested.classTestEnumMultisetGeneratorAn abstractTestMultisetGeneratorfor generating multisets containing enum values.interfaceTestListMultimapGenerator<K,V>A generator forListMultimapimplementations based on test data.interfaceTestMultimapGenerator<K,V,M extends Multimap<K,V>>Creates multimaps, containing sample elements, to be tested.interfaceTestMultisetGenerator<E>Creates multisets, containing sample elements, to be tested.interfaceTestSetMultimapGenerator<K,V>A generator forSetMultimapimplementations based on test data.classTestStringBiMapGeneratorImplementation helper forTestBiMapGeneratorfor use with bimaps of strings.classTestStringListMultimapGeneratorA skeleton generator for aListMultimapimplementation.classTestStringMultisetGeneratorCreate multisets of strings for tests.classTestStringSetMultimapGeneratorA skeleton generator for aSetMultimapimplementation.classUnmodifiableCollectionTestsA series of tests that support asserting that collections cannot be modified, either through direct or indirect means. -
Uses of GwtCompatible in com.google.common.collect.testing.testers
Classes in com.google.common.collect.testing.testers with annotations of type GwtCompatible Modifier and Type Class Description classAbstractListIndexOfTester<E>Common parent class forListIndexOfTesterandListLastIndexOfTester.classAbstractListTester<E>Base class for list testers.classAbstractQueueTester<E>Base class for queue collection tests.classAbstractSetTester<E>classCollectionAddAllTester<E>A generic JUnit test which tests addAll operations on a collection.classCollectionAddTester<E>A generic JUnit test which testsaddoperations on a collection.classCollectionClearTester<E>A generic JUnit test which testsclear()operations on a collection.classCollectionContainsAllTester<E>A generic JUnit test which testscontainsAll()operations on a collection.classCollectionContainsTester<E>A generic JUnit test which testscontains()operations on a collection.classCollectionCreationTester<E>A generic JUnit test which tests creation (typically through a constructor or static factory method) of a collection.classCollectionEqualsTester<E>TestsCollection.equals(java.lang.Object).classCollectionForEachTester<E>A generic JUnit test which testsforEachoperations on a collection.classCollectionIsEmptyTester<E>A generic JUnit test which testsisEmpty()operations on a collection.classCollectionIteratorTester<E>A generic JUnit test which testsiteratoroperations on a collection.classCollectionRemoveAllTester<E>A generic JUnit test which testsremoveAlloperations on a collection.classCollectionRemoveIfTester<E>A generic JUnit test which testsCollection.removeIf(java.util.function.Predicate<? super E>).classCollectionRemoveTester<E>A generic JUnit test which testsremoveoperations on a collection.classCollectionRetainAllTester<E>A generic JUnit test which testsretainAlloperations on a collection.classCollectionSerializationEqualTester<E>Basic reserialization test for collection types that must preserveequals()behavior when reserialized.classCollectionSerializationTester<E>Basic reserialization test for collections.classCollectionSizeTester<E>A generic JUnit test which testssize()operations on a collection.classCollectionSpliteratorTester<E>A generic JUnit test which testsspliteratoroperations on a collection.classCollectionStreamTester<E>A generic JUnit test which testsstreamoperations on a collection.classCollectionToArrayTester<E>A generic JUnit test which teststoArray()operations on a collection.classCollectionToStringTester<E>A generic JUnit test which teststoString()operations on a collection.classConcurrentMapPutIfAbsentTester<K,V>A generic JUnit test which testsputIfAbsentoperations on a concurrent map.classConcurrentMapRemoveTester<K,V>Tester forConcurrentMap.remove(java.lang.Object, java.lang.Object).classConcurrentMapReplaceEntryTester<K,V>A generic JUnit test which testsreplace(K, V, V)operations on a concurrent map.classConcurrentMapReplaceTester<K,V>A generic JUnit test which testsreplace(K, V)operations on a concurrent map.classListAddAllAtIndexTester<E>A generic JUnit test which testsaddAll(int, Collection)operations on a list.classListAddAllTester<E>A generic JUnit test which testsaddAll(Collection)operations on a list.classListAddAtIndexTester<E>A generic JUnit test which testsadd(int, Object)operations on a list.classListAddTester<E>A generic JUnit test which testsadd(Object)operations on a list.classListCreationTester<E>A generic JUnit test which tests creation (typically through a constructor or static factory method) of a list.classListEqualsTester<E>TestsList.equals(java.lang.Object).classListGetTester<E>A generic JUnit test which testsget()operations on a list.classListHashCodeTester<E>TestsList.hashCode().classListIndexOfTester<E>A generic JUnit test which testsindexOf()operations on a list.classListLastIndexOfTester<E>A generic JUnit test which testslastIndexOf()operations on a list.classListListIteratorTester<E>A generic JUnit test which testslistIteratoroperations on a list.classListRemoveAllTester<E>A generic JUnit test which tests removeAll operations on a list.classListRemoveAtIndexTester<E>A generic JUnit test which testsremove(int)operations on a list.classListRemoveTester<E>A generic JUnit test which testsremove(Object)operations on a list.classListReplaceAllTester<E>A generic JUnit test which testsList.replaceAll(java.util.function.UnaryOperator<E>).classListRetainAllTester<E>A generic JUnit test which testsretainAlloperations on a list.classListSetTester<E>A generic JUnit test which testsset()operations on a list.classListSubListTester<E>A generic JUnit test which testssubList()operations on a list.classListToArrayTester<E>A generic JUnit test which teststoArray()operations on a list.classMapClearTester<K,V>A generic JUnit test which testsclear()operations on a map.classMapComputeIfAbsentTester<K,V>A generic JUnit test which testsMap.computeIfAbsent(K, java.util.function.Function<? super K, ? extends V>).classMapComputeIfPresentTester<K,V>A generic JUnit test which testsMap.computeIfPresent(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>).classMapComputeTester<K,V>A generic JUnit test which testsMap.compute(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>).classMapContainsKeyTester<K,V>A generic JUnit test which testscontainsKey()operations on a map.classMapContainsValueTester<K,V>A generic JUnit test which testscontainsValue()operations on a map.classMapCreationTester<K,V>A generic JUnit test which tests creation (typically through a constructor or static factory method) of a map.classMapEntrySetTester<K,V>TestsMap.entrySet().classMapEqualsTester<K,V>TestsMap.equals(java.lang.Object).classMapForEachTester<K,V>A generic JUnit test which testsMap.forEach(java.util.function.BiConsumer<? super K, ? super V>).classMapGetOrDefaultTester<K,V>A generic JUnit test which testsMap.getOrDefault(java.lang.Object, V).classMapGetTester<K,V>A generic JUnit test which testsgetoperations on a map.classMapHashCodeTester<K,V>TestsMap.hashCode().classMapIsEmptyTester<K,V>A generic JUnit test which testsisEmpty()operations on a map.classMapMergeTester<K,V>A generic JUnit test which testsMap.merge(K, V, java.util.function.BiFunction<? super V, ? super V, ? extends V>).classMapPutAllTester<K,V>A generic JUnit test which testsputAlloperations on a map.classMapPutIfAbsentTester<K,V>A generic JUnit test which testsMap.putIfAbsent(K, V).classMapPutTester<K,V>A generic JUnit test which testsputoperations on a map.classMapRemoveEntryTester<K,V>Tester forMap.remove(Object, Object).classMapRemoveTester<K,V>A generic JUnit test which testsremoveoperations on a map.classMapReplaceAllTester<K,V>A generic JUnit test which testsreplaceAll()operations on a map.classMapReplaceEntryTester<K,V>A generic JUnit test which testsMap.replace(Object, Object, Object).classMapReplaceTester<K,V>A generic JUnit test which testsMap.replace(Object, Object).classMapSerializationTester<K,V>Basic serialization test for maps.classMapSizeTester<K,V>A generic JUnit test which testssize()operations on a map.classMapToStringTester<K,V>A generic JUnit test which teststoString()operations on a map.(package private) classPlatformThis class is emulated in GWT.classQueueElementTester<E>A generic JUnit test which testselement()operations on a queue.classQueueOfferTester<E>A generic JUnit test which tests offer operations on a queue.classQueuePeekTester<E>A generic JUnit test which testspeek()operations on a queue.classQueuePollTester<E>A generic JUnit test which testspoll()operations on a queue.classQueueRemoveTester<E>A generic JUnit test which testsremove()operations on a queue.classSetAddAllTester<E>A generic JUnit test which tests addAll operations on a set.classSetAddTester<E>A generic JUnit test which tests add operations on a set.classSetCreationTester<E>A generic JUnit test which tests creation (typically through a constructor or static factory method) of a set.classSetEqualsTester<E>TestsSet.equals(java.lang.Object).classSetHashCodeTester<E>TestsSet.hashCode().classSetRemoveTester<E>A generic JUnit test which tests remove operations on a set.classSortedMapNavigationTester<K,V>A generic JUnit test which tests operations on a SortedMap.classSortedSetNavigationTester<E>A generic JUnit test which tests operations on a SortedSet. -
Uses of GwtCompatible in com.google.common.escape
Classes in com.google.common.escape with annotations of type GwtCompatible Modifier and Type Class Description classArrayBasedCharEscaperACharEscaperthat uses an array to quickly look up replacement characters for a givencharvalue.classArrayBasedEscaperMapAn implementation-specific parameter class suitable for initializingArrayBasedCharEscaperorArrayBasedUnicodeEscaperinstances.classArrayBasedUnicodeEscaperAUnicodeEscaperthat uses an array to quickly look up replacement characters for a given code point.classCharEscaperAn object that converts literal text into a format safe for inclusion in a particular context (such as an XML document).classCharEscaperBuilderSimple helper class to build a "sparse" array of objects based on the indexes that were added to it.classEscaperAn object that converts literal text into a format safe for inclusion in a particular context (such as an XML document).classEscapersStatic utility methods pertaining toEscaperinstances.(package private) classPlatformMethods factored out so that they can be emulated differently in GWT.classUnicodeEscaperAnEscaperthat converts literal text into a format safe for inclusion in a particular context (such as an XML document). -
Uses of GwtCompatible in com.google.common.escape.testing
Classes in com.google.common.escape.testing with annotations of type GwtCompatible Modifier and Type Class Description classEscaperAssertsExtra assert methods for testing Escaper implementations. -
Uses of GwtCompatible in com.google.common.html
Classes in com.google.common.html with annotations of type GwtCompatible Modifier and Type Class Description classHtmlEscapersEscaperinstances suitable for strings to be included in HTML attribute values and most elements' text contents. -
Uses of GwtCompatible in com.google.common.io
Classes in com.google.common.io with annotations of type GwtCompatible Modifier and Type Class Description classBaseEncodingA binary encoding scheme for reversibly translating between byte sequences and printable ASCII strings. -
Uses of GwtCompatible in com.google.common.math
Classes in com.google.common.math with annotations of type GwtCompatible Modifier and Type Class Description classBigIntegerMathA class for arithmetic on values of typeBigInteger.classDoubleMathA class for arithmetic on doubles that is not covered byMath.classIntMathA class for arithmetic on values of typeint.classLongMathA class for arithmetic on values of typelong.(package private) classMathPreconditionsA collection of preconditions for math functions. -
Uses of GwtCompatible in com.google.common.net
Classes in com.google.common.net with annotations of type GwtCompatible Modifier and Type Class Description classHostAndPortAn immutable representation of a host and port.classHttpHeadersContains constant definitions for the HTTP header field names.classInternetDomainNameAn immutable well-formed internet domain name, such ascomorfoo.co.uk.classMediaTypeRepresents an Internet Media Type (also known as a MIME Type or Content Type).classPercentEscaperAUnicodeEscaperthat escapes some set of Java characters using a UTF-8 based percent encoding scheme.classUrlEscapersEscaperinstances suitable for strings to be included in particular sections of URLs. -
Uses of GwtCompatible in com.google.common.primitives
Classes in com.google.common.primitives with annotations of type GwtCompatible Modifier and Type Class Description classBooleansStatic utility methods pertaining tobooleanprimitives, that are not already found in eitherBooleanorArrays.private static classBooleans.BooleanArrayAsListclassBytesStatic utility methods pertaining tobyteprimitives, that are not already found in eitherByteorArrays, and interpret bytes as neither signed nor unsigned.private static classBytes.ByteArrayAsListclassCharsStatic utility methods pertaining tocharprimitives, that are not already found in eitherCharacterorArrays.private static classChars.CharArrayAsListclassDoublesStatic utility methods pertaining todoubleprimitives, that are not already found in eitherDoubleorArrays.private static classDoubles.DoubleArrayAsListclassFloatsStatic utility methods pertaining tofloatprimitives, that are not already found in eitherFloatorArrays.private static classFloats.FloatArrayAsListclassImmutableDoubleArrayAn immutable array ofdoublevalues, with an API resemblingList.classImmutableIntArrayAn immutable array ofintvalues, with an API resemblingList.classImmutableLongArrayAn immutable array oflongvalues, with an API resemblingList.classIntsStatic utility methods pertaining tointprimitives, that are not already found in eitherIntegerorArrays.private static classInts.IntArrayAsListclassLongsStatic utility methods pertaining tolongprimitives, that are not already found in eitherLongorArrays.private static classLongs.LongArrayAsList(package private) classParseRequestA string to be parsed as a number and the radix to interpret it in.(package private) classPlatformMethods factored out so that they can be emulated differently in GWT.classShortsStatic utility methods pertaining toshortprimitives, that are not already found in eitherShortorArrays.private static classShorts.ShortArrayAsListclassSignedBytesStatic utility methods pertaining tobyteprimitives that interpret values as signed.classUnsignedIntegerA wrapper class for unsignedintvalues, supporting arithmetic operations.classUnsignedIntsStatic utility methods pertaining tointprimitives that interpret values as unsigned (that is, any negative valuexis treated as the positive value2^32 + x).classUnsignedLongA wrapper class for unsignedlongvalues, supporting arithmetic operations.classUnsignedLongsStatic utility methods pertaining tolongprimitives that interpret values as unsigned (that is, any negative valuexis treated as the positive value2^64 + x). -
Uses of GwtCompatible in com.google.common.testing
Classes in com.google.common.testing with annotations of type GwtCompatible Modifier and Type Class Description (package private) classClusterExceptionAnClusterExceptionis a data structure that allows for some code to "throw multiple exceptions", or something close to it.classCollectorTester<T,A,R>Tester forCollectorimplementations.classEqualsTesterTester for equals() and hashCode() methods of a class.classEquivalenceTester<T>Tester forEquivalencerelationships between groups of objects.classFakeTickerA Ticker whose value can be advanced programmatically in test.(package private) classPlatformMethods factored out so that they can be emulated differently in GWT.(package private) classRelationshipTester<T>Implementation helper forEqualsTesterandEquivalenceTesterthat tests for equivalence classes.classSerializableTesterTests serialization and deserialization of an object, optionally asserting that the resulting object is equal to the original.classSloppyTearDownSimple utility for when you want to create aTearDownthat may throw an exception but should not fail a test when it does.interfaceTearDownAn object that can perform aTearDown.tearDown()operation.interfaceTearDownAccepterAny object which can accept registrations ofTearDowninstances.classTearDownStackATearDownStackcontains a stack ofTearDowninstances.classTestLogHandlerTests may use this to intercept messages that are logged by the code under test. -
Uses of GwtCompatible in com.google.common.util.concurrent
Classes in com.google.common.util.concurrent with annotations of type GwtCompatible Modifier and Type Class Description (package private) classAbstractCatchingFuture<V,X extends java.lang.Throwable,F,T>Implementations ofFutures.catching*.classAbstractFuture<V>An abstract implementation ofListenableFuture, intended for advanced users only.(package private) classAbstractTransformFuture<I,O,F,T>Implementations ofFutures.transform*.(package private) classAggregateFuture<InputT,OutputT>A future made up of a collection of sub-futures.(package private) classAggregateFutureStateA helper which does some thread-safe operations for aggregate futures, which must be implemented differently in GWT.interfaceAsyncCallable<V>Computes a value, possibly asynchronously.interfaceAsyncFunction<I,O>Transforms a value, possibly asynchronously.classAtomicLongMap<K>A map containinglongvalues that can be atomically updated.classCallablesStatic utility methods pertaining to theCallableinterface.(package private) classCollectionFuture<V,C>Aggregate future that collects (stores) results of each future.(package private) classCombinedFuture<V>Aggregate future that computes its value by calling a callable.(package private) classDirectExecutorAnExecutorthat runs each task in the thread that invokesexecute.classExecutionErrorErrorvariant ofExecutionException.classFluentFuture<V>AListenableFuturethat supports fluent chains of operations.(package private) classForwardingFluentFuture<V>FluentFuturethat forwards all calls to a delegate.classForwardingFuture<V>AFuturewhich forwards all its method calls to another future.classForwardingListenableFuture<V>AListenableFuturewhich forwards all its method calls to another future.interfaceFutureCallback<V>A callback for accepting the results of aFuturecomputation asynchronously.classFuturesStatic utility methods pertaining to theFutureinterface.static classFutures.FutureCombiner<V>A helper to create a newListenableFuturewhose result is generated from a combination of input futures.(package private) classGwtFluentFutureCatchingSpecialization<V>Hidden superclass ofFluentFuturethat provides us a place to declare special GWT versions of theFluentFuture.catchingfamily of methods.(package private) classGwtFuturesCatchingSpecializationHidden superclass ofFuturesthat provides us a place to declare special GWT versions of theFutures.catchingfamily of methods.(package private) classImmediateFuture<V>Implementations ofFutures.immediate*.(package private) classInterruptibleTask<T>interfaceListenableScheduledFuture<V>Helper interface to implement bothListenableFutureandScheduledFuture.classMoreExecutorsFactory and utility methods forExecutor,ExecutorService, andThreadFactory.(package private) classPartiallyOuter class that exists solely to let us writePartially.GwtIncompatibleinstead of plainGwtIncompatible.(package private) classPlatformMethods factored out so that they can be emulated differently in GWT.classRunnablesStatic utility methods pertaining to theRunnableinterface.classSettableFuture<V>AListenableFuturewhose result can be set by aSettableFuture.set(Object),SettableFuture.setException(Throwable)orSettableFuture.setFuture(ListenableFuture)call.(package private) classTrustedListenableFutureTask<V>ARunnableFuturethat also implements theListenableFutureinterface.classUncheckedExecutionExceptionUnchecked variant ofExecutionException.classUninterruptiblesUtilities for treating interruptible operations as uninterruptible. -
Uses of GwtCompatible in com.google.common.xml
Classes in com.google.common.xml with annotations of type GwtCompatible Modifier and Type Class Description classXmlEscapersEscaperinstances suitable for strings to be included in XML attribute values and elements' text contents. -
Uses of GwtCompatible in com.google.thirdparty.publicsuffix
Classes in com.google.thirdparty.publicsuffix with annotations of type GwtCompatible Modifier and Type Class Description classPublicSuffixPatternsDo not use this class directly.classPublicSuffixTypeDo not use this class directly.(package private) classTrieParserParser for a map of reversed domain names stored as a serialized radix tree.
-