Uses of Class
com.google.common.annotations.GwtCompatible
-
Packages that use GwtCompatible Package Description com.google.common.annotations Annotation types.com.google.common.base Basic utility libraries and interfaces.com.google.common.cache Discouraged (in favor of Caffeine) caching utilities.com.google.common.collect Collection interfaces and implementations, and other utilities for 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 Utility methods and classes for I/O; for example input streams, output streams, readers, writers, and files.com.google.common.math Arithmetic functions operating on primitive values and onBigIntegerandBigDecimalinstances.com.google.common.net Utility methods and classes for networking (such as IP addresses and domain names).com.google.common.primitives Static utilities for the eight primitive types andvoid, and value types for treating them as unsigned or storing them in immutable arrays.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 an API indicates that the method may not be used with the Google Web Toolkit (GWT).interfaceJ2ktIncompatibleThe presence of this annotation on an API indicates that the method may not be used with J2kt.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.classEquivalence<T>A strategy for determining whether two instances are considered equivalent, and for computing hash codes in a manner consistent with that equivalence.interfaceFunction<F extends @Nullable java.lang.Object,T extends @Nullable java.lang.Object>Determines an output value based on an input value; a pre-Java-8 version ofjava.util.function.Function.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.classPreconditionsStatic convenience methods that help a method or constructor check whether it was invoked correctly (that is, whether its preconditions were met).interfacePredicate<T extends @Nullable java.lang.Object>Determines a true or false value for a given input; a pre-Java-8 version ofjava.util.function.Predicate.classPredicatesStatic utility methods pertaining toPredicateinstances.classSplitterExtracts non-overlapping substrings from an input string, typically by recognizing appearances of a separator sequence.classStopwatchAn object that accurately measures elapsed time: the measured duration between two successive readings of "now" in the same process.classStringsStatic utility methods pertaining toStringorCharSequenceinstances.interfaceSupplier<T extends @Nullable java.lang.Object>A class that can supply objects of a single type; a pre-Java-8 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 extends @Nullable java.lang.Object>
Predicate<T>Predicates. alwaysFalse()Returns a predicate that always evaluates tofalse.static <T extends @Nullable java.lang.Object>
Predicate<T>Predicates. alwaysTrue()Returns a predicate that always evaluates totrue.static <T extends @Nullable java.lang.Object>
Predicate<T>Predicates. isNull()Returns a predicate that evaluates totrueif the object reference being tested is null.static <T extends @Nullable java.lang.Object>
Predicate<T>Predicates. notNull()Returns a predicate that evaluates totrueif the object reference being tested is not null.<S extends @Nullable 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.classCacheLoader<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 extends @Nullable java.lang.Object>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 extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>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 extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>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").interfaceClassToInstanceMap<B extends @Nullable java.lang.Object>A map, each entry of which maps a Java raw type to an instance of that type.classCollections2Provides static methods for working withCollectioninstances.classComparatorsProvides static methods for working withComparatorinstances.classComparisonChainA utility for performing a chained comparison statement.classComputationExceptionDeprecated.This exception is no longer thrown bycom.google.common.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 extends @Nullable java.lang.Object>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.classFluentIterable<E extends @Nullable java.lang.Object>An expandedIterableAPI, providing functionality similar to Java 8's powerful streams library in a slightly different way.classForwardingCollection<E extends @Nullable java.lang.Object>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 extends @Nullable java.lang.Object>An iterator which forwards all its method calls to another iterator.classForwardingList<E extends @Nullable java.lang.Object>A list which forwards all its method calls to another list.classForwardingListIterator<E extends @Nullable java.lang.Object>A list iterator which forwards all its method calls to another list iterator.classForwardingListMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>A list multimap which forwards all its method calls to another list multimap.classForwardingMap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>A map which forwards all its method calls to another map.classForwardingMapEntry<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>A map entry which forwards all its method calls to another map entry.classForwardingMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>A multimap which forwards all its method calls to another multimap.classForwardingMultiset<E extends @Nullable java.lang.Object>A multiset which forwards all its method calls to another multiset.classForwardingObjectAn abstract base class for implementing the decorator pattern.classForwardingQueue<E extends @Nullable java.lang.Object>A queue which forwards all its method calls to another queue.classForwardingSet<E extends @Nullable java.lang.Object>A set which forwards all its method calls to another set.classForwardingSetMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>A set multimap which forwards all its method calls to another set multimap.classForwardingSortedMap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>A sorted map which forwards all its method calls to another sorted map.classForwardingSortedMultiset<E extends @Nullable java.lang.Object>A sorted multiset which forwards all its method calls to another sorted multiset.classForwardingSortedSet<E extends @Nullable java.lang.Object>A sorted set which forwards all its method calls to another sorted set.classForwardingSortedSetMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>A sorted set multimap which forwards all its method calls to another sorted set multimap.classForwardingTable<R extends @Nullable java.lang.Object,C extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>A table which forwards all its method calls to another table.classHashBasedTable<R,C,V>Implementation ofTableusing linked hash tables.classHashBiMap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>ABiMapbacked by two hash tables.classHashMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>Implementation ofMultimapusing hash tables.classHashMultiset<E extends @Nullable java.lang.Object>Multiset implementation that uses hashing for key and entry access.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.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.classLinkedHashMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.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.classLinkedHashMultiset<E extends @Nullable java.lang.Object>AMultisetimplementation with predictable iteration order.classLinkedListMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>An implementation ofListMultimapthat supports deterministic iteration order for both keys and values.interfaceListMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>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 extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>An object representing the differences between two maps.classMapMakerA builder ofConcurrentMapinstances that can have keys or values automatically wrapped in weak references.classMapsclassMinMaxPriorityQueue<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 extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>A collection that maps keys to values, similar toMap, but in which each key may be associated with multiple values.classMultimapBuilder<K0 extends @Nullable java.lang.Object,V0 extends @Nullable java.lang.Object>An immutable builder forMultimapinstances, letting you independently select the desired behaviors (for example, ordering) of the backing map and value-collections.classMultimapsProvides static methods acting on or generating aMultimap.interfaceMultiset<E extends @Nullable java.lang.Object>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 extends @Nullable java.lang.Object>A comparator, with additional methods to support common operations.interfacePeekingIterator<E extends @Nullable java.lang.Object>An iterator that supports a one-element lookahead while iterating.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."interfaceRowSortedTable<R extends @Nullable java.lang.Object,C extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>Interface that extendsTableand whose rows are sorted.interfaceSetMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>AMultimapthat cannot hold duplicate key-value pairs.classSetsStatic utility methods pertaining toSetinstances.interfaceSortedMapDifference<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>An object representing the differences between two sorted maps.interfaceSortedMultiset<E extends @Nullable java.lang.Object>AMultisetwhich maintains the ordering of its elements, according to either their natural order or an explicitComparator.interfaceSortedSetMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>ASetMultimapwhose set of values for a given key are kept sorted; that is, they comprise aSortedSet.interfaceTable<R extends @Nullable java.lang.Object,C extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>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 extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>Implementation ofMultimapwhose keys and values are ordered by their natural ordering or by supplied comparators.classTreeMultiset<E extends @Nullable java.lang.Object>A multiset which maintains the ordering of its elements, according to either their natural order or an explicitComparator.classTreeTraverser<T>Deprecated.UseTraverserinstead.classUnmodifiableIterator<E extends @Nullable java.lang.Object>An iterator that does not supportUnmodifiableIterator.remove().classUnmodifiableListIterator<E extends @Nullable java.lang.Object>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<@Nullable java.lang.Object>Ordering. allEqual()Returns an ordering which treats all values as equal, indicating "no ordering."static <T extends @Nullable java.lang.Object>
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 extends @Nullable java.lang.Object>
Ordering<T>Ordering. from(Ordering<T> ordering)Deprecated.no need to use thisstatic <T extends @Nullable java.lang.Object>
Ordering<T>Ordering. from(java.util.Comparator<T> comparator)Returns an ordering based on an existing comparator instance.static <K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
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 extends @Nullable java.lang.Object>
java.util.ArrayList<E>Lists. newArrayList()Creates a mutable, emptyArrayListinstance (for Java 6 and earlier).static <E extends @Nullable java.lang.Object>
java.util.ArrayList<E>Lists. newArrayList(E... elements)Creates a mutableArrayListinstance containing the given elements.static <E extends @Nullable java.lang.Object>
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 extends @Nullable java.lang.Object>
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 extends @Nullable java.lang.Object>
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 extends @Nullable java.lang.Object>
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 extends @Nullable java.lang.Object>
java.util.LinkedList<E>Lists. newLinkedList()Creates a mutable, emptyLinkedListinstance (for Java 6 and earlier).static <E extends @Nullable java.lang.Object>
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<@Nullable S>Ordering. nullsFirst()Returns an ordering that treatsnullas less than all other values and usesthisto compare non-null values.<S extends T>
Ordering<@Nullable S>Ordering. nullsLast()Returns an ordering that treatsnullas greater than all other values and uses this ordering to compare non-null values.<F extends @Nullable java.lang.Object>
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.classImmutableDoubleArrayAn 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.classLongsStatic utility methods pertaining tolongprimitives, that are not already found in eitherLongorArrays.classPrimitivesContains static utility methods pertaining to primitive types and their corresponding wrapper types.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 extends @Nullable java.lang.Object>An abstract implementation ofListenableFuture, intended for advanced users only.interfaceAsyncCallable<V extends @Nullable java.lang.Object>Computes a value, possibly asynchronously.interfaceAsyncFunction<I extends @Nullable java.lang.Object,O extends @Nullable java.lang.Object>Transforms a value, possibly asynchronously.classAtomicLongMap<K>A map containinglongvalues that can be atomically updated.classCallablesStatic utility methods pertaining to theCallableinterface.classExecutionErrorErrorvariant ofExecutionException.classFluentFuture<V extends @Nullable java.lang.Object>AListenableFuturethat supports fluent chains of operations.classForwardingFuture<V extends @Nullable java.lang.Object>AFuturewhich forwards all its method calls to another future.classForwardingListenableFuture<V extends @Nullable java.lang.Object>AListenableFuturewhich forwards all its method calls to another future.interfaceFutureCallback<V extends @Nullable java.lang.Object>A callback for accepting the results of aFuturecomputation asynchronously.classFuturesStatic utility methods pertaining to theFutureinterface.static classFutures.FutureCombiner<V extends @Nullable java.lang.Object>A helper to create a newListenableFuturewhose result is generated from a combination of input futures.interfaceListenableScheduledFuture<V extends @Nullable java.lang.Object>Helper interface to implement bothListenableFutureandScheduledFuture.classMoreExecutorsFactory and utility methods forExecutor,ExecutorService, andThreadFactory.classRunnablesStatic utility methods pertaining to theRunnableinterface.classSettableFuture<V extends @Nullable java.lang.Object>AListenableFuturewhose result can 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.
-