Uses of Annotation Type
com.google.common.annotations.GwtCompatible
Packages that use GwtCompatible
Package
Description
Annotation types.
Basic utility libraries and interfaces.
Discouraged (in favor of Caffeine) caching utilities.
Collection interfaces and implementations, and other utilities for collections.
Interfaces, utilities, and simple implementations of escapers and encoders.
Escapers
for
HTML.
Utility methods and classes for I/O; for example input streams, output streams, readers, writers,
and files.
Arithmetic functions operating on primitive values and on
BigInteger and BigDecimal instances.Utility methods and classes for networking (such as IP addresses and domain names).
Static utilities for the eight primitive types and
void, and value types for treating
them as unsigned or storing them in immutable arrays.Concurrency utilities.
Escapers
for
XML.
-
Uses of GwtCompatible in com.google.common.annotations
Classes in com.google.common.annotations with annotations of type GwtCompatibleModifier and TypeClassDescription@interfaceSignifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.@interface@interfaceThe presence of this annotation on an API indicates that the method may not be used with the Google Web Toolkit (GWT).@interfaceThe presence of this annotation on an API indicates that the method may not be used with J2kt.@interfaceAnnotates 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 GwtCompatibleModifier and TypeClassDescriptionfinal classStatic methods pertaining to ASCII characters (those in the range of values0x00through0x7F), and to strings containing such characters.enumUtility class for converting between various ASCII case formats.classfinal classContains constant definitions for the six standardCharsetinstances, which are guaranteed to be supported by all Java platform implementations.classConverter<A,B> A function fromAtoBwith an associated reverse function fromBtoA; used for converting back and forth between different representations of the same information.classEquivalence<T>A strategy for determining whether two instances are considered equivalent, and for computing hash codes in a manner consistent with that equivalence.interfaceLegacy version ofjava.util.function.Function.final classStatic utility methods pertaining tocom.google.common.base.Functioninstances; see that class for information about migrating tojava.util.function.classfinal classHelper functions that operate on anyObject, and are not already provided inObjects.final classHelper functions that can operate on anyObject.classOptional<T>An immutable object that may contain a non-null reference to another object.final classStatic convenience methods that help a method or constructor check whether it was invoked correctly (that is, whether its preconditions were met).interfaceLegacy version ofjava.util.function.Predicate.final classStatic utility methods pertaining toPredicateinstances.final classExtracts non-overlapping substrings from an input string, typically by recognizing appearances of a separator sequence.final classAn object that accurately measures elapsed time: the measured duration between two successive readings of "now" in the same process.final classStatic utility methods pertaining toStringorCharSequenceinstances.interfaceLegacy version ofjava.util.function.Supplier.final classUseful suppliers.final classStatic utility methods pertaining to instances ofThrowable.classA time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time.final classLow-level, high-performance utility methods related to the UTF-8 character encoding.final classStatic convenience methods that serve the same purpose as Java language assertions, except that they are always enabled.classException thrown upon the failure of a verification check, including those performed by the convenience methods of theVerifyclass. -
Uses of GwtCompatible in com.google.common.cache
Classes in com.google.common.cache with annotations of type GwtCompatibleModifier and TypeClassDescriptionclassAbstractCache<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.final classCacheBuilder<K,V> A builder ofLoadingCacheandCacheinstances.classCacheLoader<K,V> Computes or retrieves values, based on a key, for use in populating aLoadingCache.final classStatistics about the performance of aCache.interfaceLoadingCache<K,V> A semi-persistent mapping from keys to values.enumThe 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.final 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 GwtCompatibleModifier and TypeClassDescriptionclassAbstractIterator<T extends @Nullable Object>This class provides a skeletal implementation of theIteratorinterface, to make this interface easier to implement for certain types of data sources.classThis class provides a skeletal implementation of theIteratorinterface for sequences whose next element can always be derived from the previous element.final classArrayListMultimap<K extends @Nullable Object, V extends @Nullable Object>Implementation ofMultimapthat uses anArrayListto store the values for a given key.final classArrayTable<R,C, V> Fixed-sizeTableimplementation backed by a two-dimensional array.interfaceA 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").interfaceClassToInstanceMap<B extends @Nullable Object>A map, each entry of which maps a Java raw type to an instance of that type.final classProvides static methods for working withCollectioninstances.final classProvides static methods for working withComparatorinstances.classA utility for performing a chained comparison statement.classDeprecated.classContiguousSet<C extends Comparable>A sorted set of contiguous values in a givenDiscreteDomain.classDiscreteDomain<C extends Comparable>A descriptor for a discreteComparabledomain such as allIntegerinstances.final classABiMapbacked by twoEnumMapinstances.final classEnumHashBiMap<K extends Enum<K>, V extends @Nullable Object>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.classFluentIterable<E extends @Nullable Object>A discouraged (but not deprecated) precursor to Java's superiorStreamlibrary.classForwardingCollection<E extends @Nullable Object>A collection which forwards all its method calls to another collection.classA concurrent map which forwards all its method calls to another concurrent map.classForwardingIterator<T extends @Nullable Object>An iterator which forwards all its method calls to another iterator.classForwardingList<E extends @Nullable Object>A list which forwards all its method calls to another list.classForwardingListIterator<E extends @Nullable Object>A list iterator which forwards all its method calls to another list iterator.classForwardingListMultimap<K extends @Nullable Object, V extends @Nullable Object>A list multimap which forwards all its method calls to another list multimap.classForwardingMap<K extends @Nullable Object, V extends @Nullable Object>A map which forwards all its method calls to another map.classForwardingMapEntry<K extends @Nullable Object, V extends @Nullable Object>A map entry which forwards all its method calls to another map entry.classForwardingMultimap<K extends @Nullable Object, V extends @Nullable Object>A multimap which forwards all its method calls to another multimap.classForwardingMultiset<E extends @Nullable Object>A multiset which forwards all its method calls to another multiset.classAn abstract base class for implementing the decorator pattern.classForwardingQueue<E extends @Nullable Object>A queue which forwards all its method calls to another queue.classForwardingSet<E extends @Nullable Object>A set which forwards all its method calls to another set.classForwardingSetMultimap<K extends @Nullable Object, V extends @Nullable Object>A set multimap which forwards all its method calls to another set multimap.classForwardingSortedMap<K extends @Nullable Object, V extends @Nullable Object>A sorted map which forwards all its method calls to another sorted map.classForwardingSortedMultiset<E extends @Nullable Object>A sorted multiset which forwards all its method calls to another sorted multiset.classForwardingSortedSet<E extends @Nullable Object>A sorted set which forwards all its method calls to another sorted set.classForwardingSortedSetMultimap<K extends @Nullable Object, V extends @Nullable Object>A sorted set multimap which forwards all its method calls to another sorted set multimap.classA table which forwards all its method calls to another table.classHashBasedTable<R,C, V> Implementation ofTableusing linked hash tables.final classABiMapbacked by two hash tables.final classHashMultimap<K extends @Nullable Object, V extends @Nullable Object>Implementation ofMultimapusing hash tables.final classHashMultiset<E extends @Nullable Object>Multiset implementation backed by aHashMap.classImmutableBiMap<K,V> ABiMapwhose 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.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.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.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.final classImmutableSortedMap<K,V> ANavigableMapwhose 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.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.final classLinkedHashMultimap<K extends @Nullable Object, V extends @Nullable Object>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 classLinkedHashMultiset<E extends @Nullable Object>AMultisetimplementation with predictable iteration order.classLinkedListMultimap<K extends @Nullable Object, V extends @Nullable Object>An implementation ofListMultimapthat supports deterministic iteration order for both keys and values.interfaceListMultimap<K extends @Nullable Object, V extends @Nullable Object>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 extends @Nullable Object, V extends @Nullable Object>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.interfaceA collection that maps keys to values, similar toMap, but in which each key may be associated with multiple values.classMultimapBuilder<K0 extends @Nullable Object, V0 extends @Nullable Object>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.interfaceA collection that supports order-independent equality, likeSet, but may have duplicate elements.final classProvides static utility methods for creating and working withMultisetinstances.final classStatic utility methods pertaining to object arrays.classA comparator, with additional methods to support common operations.interfacePeekingIterator<E extends @Nullable Object>An iterator that supports a one-element lookahead while iterating.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."interfaceInterface that extendsTableand whose rows are sorted.interfaceSetMultimap<K extends @Nullable Object, V extends @Nullable Object>AMultimapthat cannot hold duplicate key-value pairs.final classStatic utility methods pertaining toSetinstances.interfaceSortedMapDifference<K extends @Nullable Object, V extends @Nullable Object>An object representing the differences between two sorted maps.interfaceSortedMultiset<E extends @Nullable Object>AMultisetwhich maintains the ordering of its elements, according to either their natural order or an explicitComparator.interfaceSortedSetMultimap<K extends @Nullable Object, V extends @Nullable Object>ASetMultimapwhose set of values for a given key are kept sorted; that is, they comprise aSortedSet.final classStatic utility methods related toStreaminstances.interfaceA collection that associates an ordered pair of keys, called a row key and a column key, with a single value.final classProvides static methods that involve aTable.classTreeBasedTable<R,C, V> Implementation ofTablewhose row keys and column keys are ordered by their natural ordering or by supplied comparators.classTreeMultimap<K extends @Nullable Object, V extends @Nullable Object>Implementation ofMultimapwhose keys and values are ordered by their natural ordering or by supplied comparators.final classTreeMultiset<E extends @Nullable Object>A multiset which maintains the ordering of its elements, according to either their natural order or an explicitComparator.classDeprecated.UseTraverserinstead.classUnmodifiableIterator<E extends @Nullable Object>An iterator that does not supportUnmodifiableIterator.remove().classUnmodifiableListIterator<E extends @Nullable Object>A list iterator that does not supportUnmodifiableIterator.remove(),UnmodifiableListIterator.add(E), orUnmodifiableListIterator.set(E). -
Uses of GwtCompatible in com.google.common.escape
Classes in com.google.common.escape with annotations of type GwtCompatibleModifier and TypeClassDescriptionclassACharEscaperthat uses an array to quickly look up replacement characters for a givencharvalue.final classAn implementation-specific parameter class suitable for initializingArrayBasedCharEscaperorArrayBasedUnicodeEscaperinstances.classAUnicodeEscaperthat uses an array to quickly look up replacement characters for a given code point.classAn object that converts literal text into a format safe for inclusion in a particular context (such as an XML document).final classSimple helper class to build a "sparse" array of objects based on the indexes that were added to it.classAn object that converts literal text into a format safe for inclusion in a particular context (such as an XML document).final classStatic utility methods pertaining toEscaperinstances.classAnEscaperthat 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.html
Classes in com.google.common.html with annotations of type GwtCompatibleModifier and TypeClassDescriptionfinal classEscaperinstances 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 GwtCompatibleModifier and TypeClassDescriptionclassA 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 GwtCompatibleModifier and TypeClassDescriptionfinal classA class for arithmetic on values of typeBigInteger.final classA class for arithmetic on doubles that is not covered byMath.final classA class for arithmetic on values of typeint.final classA class for arithmetic on values of typelong. -
Uses of GwtCompatible in com.google.common.net
Classes in com.google.common.net with annotations of type GwtCompatibleModifier and TypeClassDescriptionfinal classAn immutable representation of a host and port.final classContains constant definitions for the HTTP header field names.final classAn immutable well-formed internet domain name, such ascomorfoo.co.uk.final classRepresents an Internet Media Type (also known as a MIME Type or Content Type).final classAUnicodeEscaperthat escapes some set of Java characters using a UTF-8 based percent encoding scheme.final classEscaperinstances 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 GwtCompatibleModifier and TypeClassDescriptionfinal classfinal classfinal classfinal classfinal classfinal classAn immutable array ofdoublevalues, with an API resemblingList.final classAn immutable array ofintvalues, with an API resemblingList.final classAn immutable array oflongvalues, with an API resemblingList.final classfinal classfinal classContains static utility methods pertaining to primitive types and their corresponding wrapper types.final classfinal classStatic utility methods pertaining tobyteprimitives that interpret values as signed.final classA wrapper class for unsignedintvalues, supporting arithmetic operations.final classStatic utility methods pertaining tointprimitives that interpret values as unsigned (that is, any negative valuexis treated as the positive value2^32 + x).final classA wrapper class for unsignedlongvalues, supporting arithmetic operations.final classStatic 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.util.concurrent
Classes in com.google.common.util.concurrent with annotations of type GwtCompatibleModifier and TypeClassDescriptionclassAbstractFuture<V extends @Nullable Object>An abstract implementation ofListenableFuture, intended for advanced users only.interfaceAsyncCallable<V extends @Nullable Object>Computes a value, possibly asynchronously.interfaceAsyncFunction<I extends @Nullable Object, O extends @Nullable Object>Transforms a value, possibly asynchronously.final classA map containinglongvalues that can be atomically updated.final classStatic utility methods pertaining to theCallableinterface.classErrorvariant ofExecutionException.classFluentFuture<V extends @Nullable Object>AListenableFuturethat supports fluent chains of operations.classForwardingFuture<V extends @Nullable Object>AFuturewhich forwards all its method calls to another future.classForwardingListenableFuture<V extends @Nullable Object>AListenableFuturewhich forwards all its method calls to another future.interfaceFutureCallback<V extends @Nullable Object>A callback for accepting the results of aFuturecomputation asynchronously.final classStatic utility methods pertaining to theFutureinterface.static final classFutures.FutureCombiner<V extends @Nullable Object>A helper to create a newListenableFuturewhose result is generated from a combination of input futures.interfaceListenableScheduledFuture<V extends @Nullable Object>Helper interface to implement bothListenableFutureandScheduledFuture.final classfinal classStatic utility methods pertaining to theRunnableinterface.final classSettableFuture<V extends @Nullable Object>AListenableFuturewhose result can be set by aSettableFuture.set(Object),SettableFuture.setException(Throwable)orSettableFuture.setFuture(ListenableFuture)call.classUnchecked variant ofExecutionException.final classUtilities for treating interruptible operations as uninterruptible. -
Uses of GwtCompatible in com.google.common.xml
Classes in com.google.common.xml with annotations of type GwtCompatibleModifier and TypeClassDescriptionclassEscaperinstances suitable for strings to be included in XML attribute values and elements' text contents.
com.google.common.