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 onBigInteger
andBigDecimal
instances.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 interface
Beta
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.interface
GwtCompatible
The presence of this annotation on a type indicates that the type may be used with the Google Web Toolkit (GWT).interface
GwtIncompatible
The presence of this annotation on an API indicates that the method may not be used with the Google Web Toolkit (GWT).interface
J2ktIncompatible
The presence of this annotation on an API indicates that the method may not be used with J2kt.interface
VisibleForTesting
Annotates 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 class
Ascii
Static methods pertaining to ASCII characters (those in the range of values0x00
through0x7F
), and to strings containing such characters.class
CaseFormat
Utility class for converting between various ASCII case formats.class
CharMatcher
class
Charsets
Contains constant definitions for the six standardCharset
instances, which are guaranteed to be supported by all Java platform implementations.class
Converter<A,B>
A function fromA
toB
with an associated reverse function fromB
toA
; used for converting back and forth between different representations of the same information.class
Equivalence<T>
A strategy for determining whether two instances are considered equivalent, and for computing hash codes in a manner consistent with that equivalence.interface
Function<F extends @Nullable java.lang.Object,T extends @Nullable java.lang.Object>
Legacy version ofjava.util.function.Function
.class
Functions
Static utility methods pertaining tocom.google.common.base.Function
instances; see that class for information about migrating tojava.util.function
.class
Joiner
An object which joins pieces of text (specified as an array,Iterable
, varargs or even aMap
) with a separator.class
MoreObjects
Helper functions that operate on anyObject
, and are not already provided inObjects
.class
Objects
Helper functions that can operate on anyObject
.class
Optional<T>
An immutable object that may contain a non-null reference to another object.class
Preconditions
Static convenience methods that help a method or constructor check whether it was invoked correctly (that is, whether its preconditions were met).interface
Predicate<T extends @Nullable java.lang.Object>
Legacy version ofjava.util.function.Predicate
.class
Predicates
Static utility methods pertaining toPredicate
instances.class
Splitter
Extracts non-overlapping substrings from an input string, typically by recognizing appearances of a separator sequence.class
Stopwatch
An object that accurately measures elapsed time: the measured duration between two successive readings of "now" in the same process.class
Strings
Static utility methods pertaining toString
orCharSequence
instances.interface
Supplier<T extends @Nullable java.lang.Object>
Legacy version ofjava.util.function.Supplier
.class
Suppliers
Useful suppliers.class
Throwables
Static utility methods pertaining to instances ofThrowable
.class
Ticker
A time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time.class
Utf8
Low-level, high-performance utility methods related to the UTF-8 character encoding.class
Verify
Static convenience methods that serve the same purpose as Java language assertions, except that they are always enabled.class
VerifyException
Exception thrown upon the failure of a verification check, including those performed by the convenience methods of theVerify
class.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 totrue
if the object reference being tested is null.static <T extends @Nullable java.lang.Object>
Predicate<T>Predicates. notNull()
Returns a predicate that evaluates totrue
if 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 class
AbstractCache<K,V>
This class provides a skeletal implementation of theCache
interface to minimize the effort required to implement this interface.interface
Cache<K,V>
A semi-persistent mapping from keys to values.class
CacheBuilder<K,V>
A builder ofLoadingCache
andCache
instances.class
CacheLoader<K,V>
Computes or retrieves values, based on a key, for use in populating aLoadingCache
.class
CacheStats
Statistics about the performance of aCache
.interface
LoadingCache<K,V>
A semi-persistent mapping from keys to values.class
RemovalCause
The reason why a cached entry was removed.interface
RemovalListener<K,V>
An object that can receive a notification when an entry is removed from a cache.class
RemovalNotification<K,V>
A notification of the removal of a single entry.interface
Weigher<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 class
AbstractIterator<T extends @Nullable java.lang.Object>
This class provides a skeletal implementation of theIterator
interface, to make this interface easier to implement for certain types of data sources.class
AbstractSequentialIterator<T>
This class provides a skeletal implementation of theIterator
interface for sequences whose next element can always be derived from the previous element.class
ArrayListMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
Implementation ofMultimap
that uses anArrayList
to store the values for a given key.class
ArrayTable<R,C,V>
Fixed-sizeTable
implementation backed by a two-dimensional array.interface
BiMap<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.class
BoundType
Indicates whether an endpoint of some range is contained in the range itself ("closed") or not ("open").interface
ClassToInstanceMap<B extends @Nullable java.lang.Object>
A map, each entry of which maps a Java raw type to an instance of that type.class
Collections2
Provides static methods for working withCollection
instances.class
Comparators
Provides static methods for working withComparator
instances.class
ComparisonChain
A utility for performing a chained comparison statement.class
ComputationException
Deprecated.This exception is no longer thrown bycom.google.common
.class
ContiguousSet<C extends java.lang.Comparable>
A sorted set of contiguous values in a givenDiscreteDomain
.class
DiscreteDomain<C extends java.lang.Comparable>
A descriptor for a discreteComparable
domain such as allInteger
instances.class
EnumBiMap<K extends java.lang.Enum<K>,V extends java.lang.Enum<V>>
ABiMap
backed by twoEnumMap
instances.class
EnumHashBiMap<K extends java.lang.Enum<K>,V extends @Nullable java.lang.Object>
ABiMap
backed by anEnumMap
instance for keys-to-values, and aHashMap
instance for values-to-keys.class
EnumMultiset<E extends java.lang.Enum<E>>
Multiset implementation specialized for enum elements, supporting all single-element operations in O(1).class
EvictingQueue<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.class
FluentIterable<E extends @Nullable java.lang.Object>
A discouraged (but not deprecated) precursor to Java's superiorStream
library.class
ForwardingCollection<E extends @Nullable java.lang.Object>
A collection which forwards all its method calls to another collection.class
ForwardingConcurrentMap<K,V>
A concurrent map which forwards all its method calls to another concurrent map.class
ForwardingIterator<T extends @Nullable java.lang.Object>
An iterator which forwards all its method calls to another iterator.class
ForwardingList<E extends @Nullable java.lang.Object>
A list which forwards all its method calls to another list.class
ForwardingListIterator<E extends @Nullable java.lang.Object>
A list iterator which forwards all its method calls to another list iterator.class
ForwardingListMultimap<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.class
ForwardingMap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
A map which forwards all its method calls to another map.class
ForwardingMapEntry<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.class
ForwardingMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
A multimap which forwards all its method calls to another multimap.class
ForwardingMultiset<E extends @Nullable java.lang.Object>
A multiset which forwards all its method calls to another multiset.class
ForwardingObject
An abstract base class for implementing the decorator pattern.class
ForwardingQueue<E extends @Nullable java.lang.Object>
A queue which forwards all its method calls to another queue.class
ForwardingSet<E extends @Nullable java.lang.Object>
A set which forwards all its method calls to another set.class
ForwardingSetMultimap<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.class
ForwardingSortedMap<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.class
ForwardingSortedMultiset<E extends @Nullable java.lang.Object>
A sorted multiset which forwards all its method calls to another sorted multiset.class
ForwardingSortedSet<E extends @Nullable java.lang.Object>
A sorted set which forwards all its method calls to another sorted set.class
ForwardingSortedSetMultimap<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.class
ForwardingTable<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.class
HashBasedTable<R,C,V>
Implementation ofTable
using linked hash tables.class
HashBiMap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
ABiMap
backed by two hash tables.class
HashMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
Implementation ofMultimap
using hash tables.class
HashMultiset<E extends @Nullable java.lang.Object>
Multiset implementation backed by aHashMap
.class
ImmutableBiMap<K,V>
ABiMap
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableCollection<E>
ACollection
whose contents will never change, and which offers a few additional guarantees detailed below.class
ImmutableList<E>
AList
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableListMultimap<K,V>
AListMultimap
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableMap<K,V>
AMap
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableMultimap<K,V>
AMultimap
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableMultiset<E>
AMultiset
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableSet<E>
ASet
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableSetMultimap<K,V>
ASetMultimap
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableSortedMap<K,V>
ANavigableMap
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableSortedSet<E>
ANavigableSet
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableTable<R,C,V>
ATable
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
Iterables
An assortment of mainly legacy static utility methods that operate on or return objects of typeIterable
.class
Iterators
This class contains static utility methods that operate on or return objects of typeIterator
.class
LinkedHashMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
Implementation ofMultimap
that 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.class
LinkedHashMultiset<E extends @Nullable java.lang.Object>
AMultiset
implementation with predictable iteration order.class
LinkedListMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
An implementation ofListMultimap
that supports deterministic iteration order for both keys and values.interface
ListMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
AMultimap
that can hold duplicate key-value pairs and that maintains the insertion ordering of values for a given key.class
Lists
Static utility methods pertaining toList
instances.interface
MapDifference<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
An object representing the differences between two maps.class
MapMaker
A builder ofConcurrentMap
instances that can have keys or values automatically wrapped in weak references.class
Maps
class
MinMaxPriorityQueue<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.class
MoreCollectors
Collectors not present injava.util.stream.Collectors
that are not otherwise associated with acom.google.common
type.interface
Multimap<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.class
MultimapBuilder<K0 extends @Nullable java.lang.Object,V0 extends @Nullable java.lang.Object>
An immutable builder forMultimap
instances, letting you independently select the desired behaviors (for example, ordering) of the backing map and value-collections.class
Multimaps
Provides static methods acting on or generating aMultimap
.interface
Multiset<E extends @Nullable java.lang.Object>
A collection that supports order-independent equality, likeSet
, but may have duplicate elements.class
Multisets
Provides static utility methods for creating and working withMultiset
instances.class
ObjectArrays
Static utility methods pertaining to object arrays.class
Ordering<T extends @Nullable java.lang.Object>
A comparator, with additional methods to support common operations.interface
PeekingIterator<E extends @Nullable java.lang.Object>
An iterator that supports a one-element lookahead while iterating.class
Queues
Static utility methods pertaining toQueue
andDeque
instances.class
Range<C extends java.lang.Comparable>
A range (or "interval") defines the boundaries around a contiguous span of values of someComparable
type; for example, "integers from 1 to 100 inclusive." Note that it is not possible to iterate over these contained values.interface
RowSortedTable<R extends @Nullable java.lang.Object,C extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
Interface that extendsTable
and whose rows are sorted.interface
SetMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
AMultimap
that cannot hold duplicate key-value pairs.class
Sets
Static utility methods pertaining toSet
instances.interface
SortedMapDifference<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
An object representing the differences between two sorted maps.interface
SortedMultiset<E extends @Nullable java.lang.Object>
AMultiset
which maintains the ordering of its elements, according to either their natural order or an explicitComparator
.interface
SortedSetMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
ASetMultimap
whose set of values for a given key are kept sorted; that is, they comprise aSortedSet
.class
Streams
Static utility methods related toStream
instances.interface
Table<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.class
Tables
Provides static methods that involve aTable
.class
TreeBasedTable<R,C,V>
Implementation ofTable
whose row keys and column keys are ordered by their natural ordering or by supplied comparators.class
TreeMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
Implementation ofMultimap
whose keys and values are ordered by their natural ordering or by supplied comparators.class
TreeMultiset<E extends @Nullable java.lang.Object>
A multiset which maintains the ordering of its elements, according to either their natural order or an explicitComparator
.class
TreeTraverser<T>
Deprecated.UseTraverser
instead.class
UnmodifiableIterator<E extends @Nullable java.lang.Object>
An iterator that does not supportUnmodifiableIterator.remove()
.class
UnmodifiableListIterator<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." Passing this ordering to any stable sort algorithm results in no change to the order of elements.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, emptyArrayList
instance (for Java 6 and earlier).static <E extends @Nullable java.lang.Object>
java.util.ArrayList<E>Lists. newArrayList(E... elements)
Creates a mutableArrayList
instance 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 mutableArrayList
instance 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 mutableArrayList
instance 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 anArrayList
instance 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 anArrayList
instance to holdestimatedSize
elements, 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, emptyLinkedList
instance (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 mutableLinkedList
instance 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 treatsnull
as less than all other values and usesthis
to compare non-null values.<S extends T>
Ordering<@Nullable S>Ordering. nullsLast()
Returns an ordering that treatsnull
as 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 onF
which 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; theOrdering
equivalent 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 class
ArrayBasedCharEscaper
ACharEscaper
that uses an array to quickly look up replacement characters for a givenchar
value.class
ArrayBasedEscaperMap
An implementation-specific parameter class suitable for initializingArrayBasedCharEscaper
orArrayBasedUnicodeEscaper
instances.class
ArrayBasedUnicodeEscaper
AUnicodeEscaper
that uses an array to quickly look up replacement characters for a given code point.class
CharEscaper
An object that converts literal text into a format safe for inclusion in a particular context (such as an XML document).class
CharEscaperBuilder
Simple helper class to build a "sparse" array of objects based on the indexes that were added to it.class
Escaper
An object that converts literal text into a format safe for inclusion in a particular context (such as an XML document).class
Escapers
Static utility methods pertaining toEscaper
instances.class
UnicodeEscaper
AnEscaper
that 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 class
HtmlEscapers
Escaper
instances 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 class
BaseEncoding
A 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 class
BigIntegerMath
A class for arithmetic on values of typeBigInteger
.class
DoubleMath
A class for arithmetic on doubles that is not covered byMath
.class
IntMath
A class for arithmetic on values of typeint
.class
LongMath
A 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 class
HostAndPort
An immutable representation of a host and port.class
HttpHeaders
Contains constant definitions for the HTTP header field names.class
InternetDomainName
An immutable well-formed internet domain name, such ascom
orfoo.co.uk
.class
MediaType
Represents an Internet Media Type (also known as a MIME Type or Content Type).class
PercentEscaper
AUnicodeEscaper
that escapes some set of Java characters using a UTF-8 based percent encoding scheme.class
UrlEscapers
Escaper
instances 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 class
Booleans
Static utility methods pertaining toboolean
primitives, that are not already found in eitherBoolean
orArrays
.class
Bytes
Static utility methods pertaining tobyte
primitives, that are not already found in eitherByte
orArrays
, and interpret bytes as neither signed nor unsigned.class
Chars
Static utility methods pertaining tochar
primitives, that are not already found in eitherCharacter
orArrays
.class
Doubles
Static utility methods pertaining todouble
primitives, that are not already found in eitherDouble
orArrays
.class
Floats
Static utility methods pertaining tofloat
primitives, that are not already found in eitherFloat
orArrays
.class
ImmutableDoubleArray
An immutable array ofdouble
values, with an API resemblingList
.class
ImmutableIntArray
An immutable array ofint
values, with an API resemblingList
.class
ImmutableLongArray
An immutable array oflong
values, with an API resemblingList
.class
Ints
Static utility methods pertaining toint
primitives, that are not already found in eitherInteger
orArrays
.class
Longs
Static utility methods pertaining tolong
primitives, that are not already found in eitherLong
orArrays
.class
Primitives
Contains static utility methods pertaining to primitive types and their corresponding wrapper types.class
Shorts
Static utility methods pertaining toshort
primitives, that are not already found in eitherShort
orArrays
.class
SignedBytes
Static utility methods pertaining tobyte
primitives that interpret values as signed.class
UnsignedInteger
A wrapper class for unsignedint
values, supporting arithmetic operations.class
UnsignedInts
Static utility methods pertaining toint
primitives that interpret values as unsigned (that is, any negative valuex
is treated as the positive value2^32 + x
).class
UnsignedLong
A wrapper class for unsignedlong
values, supporting arithmetic operations.class
UnsignedLongs
Static utility methods pertaining tolong
primitives that interpret values as unsigned (that is, any negative valuex
is 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 class
AbstractFuture<V extends @Nullable java.lang.Object>
An abstract implementation ofListenableFuture
, intended for advanced users only.interface
AsyncCallable<V extends @Nullable java.lang.Object>
Computes a value, possibly asynchronously.interface
AsyncFunction<I extends @Nullable java.lang.Object,O extends @Nullable java.lang.Object>
Transforms a value, possibly asynchronously.class
AtomicLongMap<K>
A map containinglong
values that can be atomically updated.class
Callables
Static utility methods pertaining to theCallable
interface.class
ExecutionError
Error
variant ofExecutionException
.class
FluentFuture<V extends @Nullable java.lang.Object>
AListenableFuture
that supports fluent chains of operations.class
ForwardingFuture<V extends @Nullable java.lang.Object>
AFuture
which forwards all its method calls to another future.class
ForwardingListenableFuture<V extends @Nullable java.lang.Object>
AListenableFuture
which forwards all its method calls to another future.interface
FutureCallback<V extends @Nullable java.lang.Object>
A callback for accepting the results of aFuture
computation asynchronously.class
Futures
Static utility methods pertaining to theFuture
interface.static class
Futures.FutureCombiner<V extends @Nullable java.lang.Object>
A helper to create a newListenableFuture
whose result is generated from a combination of input futures.interface
ListenableScheduledFuture<V extends @Nullable java.lang.Object>
Helper interface to implement bothListenableFuture
andScheduledFuture
.class
MoreExecutors
Factory and utility methods forExecutor
,ExecutorService
, andThreadFactory
.class
Runnables
Static utility methods pertaining to theRunnable
interface.class
SettableFuture<V extends @Nullable java.lang.Object>
AListenableFuture
whose result can be set by aSettableFuture.set(Object)
,SettableFuture.setException(Throwable)
orSettableFuture.setFuture(ListenableFuture)
call.class
UncheckedExecutionException
Unchecked variant ofExecutionException
.class
Uninterruptibles
Utilities 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 class
XmlEscapers
Escaper
instances suitable for strings to be included in XML attribute values and elements' text contents.
-