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.escape Interfaces, utilities, and simple implementations of escapers and encoders.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.util.concurrent Concurrency utilities.com.google.common.xml Escapers for XML. -
-
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 a method indicates that the method may not be used with the Google Web Toolkit (GWT), even though its type is annotated asGwtCompatibleand accessible in 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 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.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.interfaceFunction<F,T>Determines an output value based on an input value.classFunctionsStatic utility methods pertaining toFunctioninstances.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.classPreconditionsStatic convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met).interfacePredicate<T>Determines a true or false value for a given input.classPredicatesStatic utility methods pertaining toPredicateinstances.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>A class that can supply objects of a single type.classSuppliersUseful suppliers.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.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 classAbstractIterator<T>This class provides a skeletal implementation of theIteratorinterface, to make this interface easier to implement for certain types of data sources.classAbstractSequentialIterator<T>This class provides a skeletal implementation of theIteratorinterface for sequences whose next element can always be derived from the previous element.classArrayListMultimap<K,V>Implementation ofMultimapthat uses anArrayListto store the values for a given key.classArrayTable<R,C,V>Fixed-sizeTableimplementation backed by a two-dimensional array.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.classBinaryTreeTraverser<T>A variant ofTreeTraverserfor binary trees, providing additional traversals specific to binary trees.classBoundTypeIndicates whether an endpoint of some range is contained in the range itself ("closed") or not ("open").interfaceClassToInstanceMap<B>A map, each entry of which maps a Java raw type to an instance of that type.classCollections2Provides static methods for working withCollectioninstances.classComparisonChainA utility for performing a chained comparison statement.classComputationExceptionWraps an exception that occurred during a computation.classContiguousSet<C extends java.lang.Comparable>A sorted set of contiguous values in a givenDiscreteDomain.classDiscreteDomain<C extends java.lang.Comparable>A descriptor for a discreteComparabledomain such as allIntegerinstances.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 backed by anEnumMap.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.classFluentIterable<E>An expandedIterableAPI, providing functionality similar to Java 8's powerful streams library in a slightly different way.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.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.classHashBasedTable<R,C,V>Implementation ofTableusing hash tables.classHashBiMap<K,V>ABiMapbacked by two hash tables.classHashMultimap<K,V>Implementation ofMultimapusing hash tables.classHashMultiset<E>Multiset implementation backed by aHashMap.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.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.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.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.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.classIterablesThis class contains 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.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.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.interfaceMapConstraint<K,V>Deprecated.UsePreconditionsfor basic checks.classMapConstraintsDeprecated.UsePreconditionsfor basic checks.interfaceMapDifference<K,V>An object representing the differences between two maps.classMapMakerA builder ofConcurrentMapinstances having any combination of the following features: keys or values automatically wrapped in weak or soft references notification of evicted (or otherwise removed) entriesclassMapsinterfaceMultimap<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.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.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.classRangesDeprecated.Use the corresponding method inRange.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.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.interfaceSortedSetMultimap<K,V>ASetMultimapwhose set of values for a given key are kept sorted; that is, they comprise aSortedSet.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.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>Views elements of a typeTas nodes in a tree, and provides methods to traverse the trees induced by this traverser.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).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.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.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.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. -
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.classBytesStatic utility methods pertaining tobyteprimitives, that are not already found in eitherByteorArrays, and interpret bytes as neither signed nor unsigned.classCharsStatic utility methods pertaining tocharprimitives, that are not already found in eitherCharacterorArrays.classDoublesStatic utility methods pertaining todoubleprimitives, that are not already found in eitherDoubleorArrays.classFloatsStatic utility methods pertaining tofloatprimitives, that are not already found in eitherFloatorArrays.classIntsStatic utility methods pertaining tointprimitives, that are not already found in eitherIntegerorArrays.classLongsStatic utility methods pertaining tolongprimitives, that are not already found in eitherLongorArrays.classShortsStatic utility methods pertaining toshortprimitives, that are not already found in eitherShortorArrays.classSignedBytesStatic 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.util.concurrent
Classes in com.google.common.util.concurrent with annotations of type GwtCompatible Modifier and Type Class Description classAbstractFuture<V>An abstract implementation ofListenableFuture, intended for advanced users only.interfaceAsyncFunction<I,O>Transforms a value, possibly asynchronously.classAtomicLongMap<K>A map containinglongvalues that can be atomically updated.classCallablesStatic utility methods pertaining to theCallableinterface.interfaceCheckedFuture<V,X extends java.lang.Exception>ACheckedFutureis aListenableFuturethat includes versions of thegetmethods that can throw a checked exception.classExecutionErrorErrorvariant ofExecutionException.interfaceFutureCallback<V>A callback for accepting the results of aFuturecomputation asynchronously.interfaceFutureFallback<V>Deprecated.This interface's main user,Futures.withFallback, has been updated to useAsyncFunction.classFuturesStatic utility methods pertaining to theFutureinterface.interfaceListenableFuture<V>AFuturethat accepts completion listeners.classMoreExecutorsFactory and utility methods forExecutor,ExecutorService, andThreadFactory.classRunnablesStatic utility methods pertaining to theRunnableinterface.classSettableFuture<V>AListenableFuturewhose result may be set by aSettableFuture.set(Object),SettableFuture.setException(Throwable)orSettableFuture.setFuture(ListenableFuture)call.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.
-