|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GwtCompatible | |
---|---|
com.google.common.annotations | Common annotation types. |
com.google.common.base | Basic utility libraries and interfaces. |
com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
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 and void . |
Uses of GwtCompatible in com.google.common.annotations |
---|
Classes in com.google.common.annotations with annotations of type GwtCompatible | |
---|---|
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 a method indicates that the method may not be used with the Google Web Toolkit (GWT), even though its type is annotated as GwtCompatible and accessible in
GWT. |
interface |
VisibleForTesting
An annotation that indicates that the visibility of a type or member has been relaxed to make the code testable. |
Uses of GwtCompatible in com.google.common.base |
---|
Classes in com.google.common.base with annotations of type GwtCompatible | |
---|---|
class |
CaseFormat
Utility class for converting between various ASCII case formats. |
class |
CharMatcher
Determines a true or false value for any Java char value, just as Predicate does
for any Object . |
interface |
Function<F,T>
A transformation from one object to another. |
class |
Functions
Useful functions. |
class |
Joiner
An object which joins pieces of text (specified as an array, Iterable , varargs or even a
Map ) with a separator. |
class |
Objects
Helper functions that can operate on any Object . |
class |
Preconditions
Simple static methods to be called at the start of your own methods to verify correct arguments and state. |
interface |
Predicate<T>
Determines a true or false value for a given input. |
class |
Predicates
Contains static factory methods for creating Predicate instances. |
class |
Splitter
An object that divides strings (or other instances of CharSequence )
into substrings, by recognizing a separator (a.k.a. |
class |
Strings
Static utility methods pertaining to String or CharSequence
instances. |
interface |
Supplier<T>
A class that can supply objects of a single type. |
class |
Suppliers
Useful suppliers. |
Methods in com.google.common.base with annotations of type GwtCompatible | ||
---|---|---|
static
|
Predicates.alwaysFalse()
Returns a predicate that always evaluates to false . |
|
static
|
Predicates.alwaysTrue()
Returns a predicate that always evaluates to true . |
Uses of GwtCompatible in com.google.common.collect |
---|
Classes in com.google.common.collect with annotations of type GwtCompatible | |
---|---|
class |
AbstractIterator<T>
This class provides a skeletal implementation of the Iterator
interface, to make this interface easier to implement for certain types of
data sources. |
class |
ArrayListMultimap<K,V>
Implementation of Multimap that uses an ArrayList to store
the values for a given key. |
interface |
BiMap<K,V>
A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as that of its keys. |
interface |
ClassToInstanceMap<B>
A map, each entry of which maps a Java raw type to an instance of that type. |
class |
Collections2
Provides static methods for working with Collection instances. |
class |
ComparisonChain
A utility for performing a "lazy" chained comparison statement, which performs comparisons only until it finds a nonzero result. |
class |
ComputationException
Wraps an exception that occured during a computation. |
interface |
Constraint<E>
A constraint that an element must satisfy in order to be added to a collection. |
class |
Constraints
Factories and utilities pertaining to the Constraint interface. |
class |
EnumMultiset<E extends Enum<E>>
Multiset implementation backed by an EnumMap . |
class |
ForwardingCollection<E>
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>
An iterator which forwards all its method calls to another iterator. |
class |
ForwardingList<E>
A list which forwards all its method calls to another list. |
class |
ForwardingListIterator<E>
A list iterator which forwards all its method calls to another list iterator. |
class |
ForwardingListMultimap<K,V>
A list multimap which forwards all its method calls to another list multimap. |
class |
ForwardingMap<K,V>
A map which forwards all its method calls to another map. |
class |
ForwardingMapEntry<K,V>
A map entry which forwards all its method calls to another map entry. |
class |
ForwardingMultimap<K,V>
A multimap which forwards all its method calls to another multimap. |
class |
ForwardingMultiset<E>
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>
A queue which forwards all its method calls to another queue. |
class |
ForwardingSet<E>
A set which forwards all its method calls to another set. |
class |
ForwardingSetMultimap<K,V>
A set multimap which forwards all its method calls to another set multimap. |
class |
ForwardingSortedMap<K,V>
A sorted map which forwards all its method calls to another sorted map. |
class |
ForwardingSortedSet<E>
A sorted set which forwards all its method calls to another sorted set. |
class |
ForwardingSortedSetMultimap<K,V>
A sorted set multimap which forwards all its method calls to another sorted set multimap. |
class |
HashBiMap<K,V>
A BiMap backed by two HashMap instances. |
class |
HashMultimap<K,V>
Implementation of Multimap using hash tables. |
class |
HashMultiset<E>
Multiset implementation backed by a HashMap . |
class |
ImmutableBiMap<K,V>
An immutable BiMap with reliable user-specified iteration order. |
class |
ImmutableCollection<E>
An immutable collection. |
class |
ImmutableList<E>
A high-performance, immutable, random-access List implementation. |
class |
ImmutableListMultimap<K,V>
An immutable ListMultimap with reliable user-specified key and value
iteration order. |
class |
ImmutableMap<K,V>
An immutable, hash-based Map with reliable user-specified iteration
order. |
class |
ImmutableMultimap<K,V>
An immutable Multimap . |
class |
ImmutableMultiset<E>
An immutable hash-based multiset. |
class |
ImmutableSet<E>
A high-performance, immutable Set with reliable, user-specified
iteration order. |
class |
ImmutableSetMultimap<K,V>
An immutable SetMultimap with reliable user-specified key and value
iteration order. |
class |
ImmutableSortedMap<K,V>
An immutable SortedMap . |
class |
ImmutableSortedSet<E>
An immutable SortedSet that stores its elements in a sorted array. |
class |
Iterables
This class contains static utility methods that operate on or return objects of type Iterable . |
class |
Iterators
This class contains static utility methods that operate on or return objects of type Iterator . |
class |
LinkedHashMultimap<K,V>
Implementation of Multimap 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>
A Multiset implementation with predictable iteration order. |
class |
LinkedListMultimap<K,V>
An implementation of ListMultimap that supports deterministic
iteration order for both keys and values. |
interface |
ListMultimap<K,V>
A Multimap 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 to List instances. |
interface |
MapConstraint<K,V>
A constraint on the keys and values that may be added to a Map or
Multimap . |
class |
MapConstraints
Factory and utilities pertaining to the MapConstraint interface. |
interface |
MapDifference<K,V>
An object representing the differences between two maps. |
class |
MapMaker
A ConcurrentMap builder, providing any combination of these
features: soft or weak keys, soft or weak values, timed expiration, and on-demand
computation of values. |
class |
Maps
Static utility methods pertaining to Map instances. |
interface |
Multimap<K,V>
A collection similar to a Map , but which may associate multiple
values with a single key. |
class |
Multimaps
Provides static methods acting on or generating a Multimap . |
interface |
Multiset<E>
A collection that supports order-independent equality, like Set , but
may have duplicate elements. |
class |
Multisets
Provides static utility methods for creating and working with Multiset instances. |
class |
ObjectArrays
Static utility methods pertaining to object arrays. |
class |
Ordering<T>
A comparator with added methods to support common functions. |
interface |
PeekingIterator<E>
An iterator that supports a one-element lookahead while iterating. |
interface |
SetMultimap<K,V>
A Multimap that cannot hold duplicate key-value pairs. |
class |
Sets
Static utility methods pertaining to Set instances. |
interface |
SortedSetMultimap<K,V>
A SetMultimap whose set of values for a given key are kept sorted;
that is, they comprise a SortedSet . |
class |
TreeMultimap<K,V>
Implementation of Multimap whose keys and values are ordered by
their natural ordering or by supplied comparators. |
class |
TreeMultiset<E>
A multiset which maintains the ordering of its elements, according to either their natural order or an explicit Comparator . |
class |
UnmodifiableIterator<E>
An iterator that does not support UnmodifiableIterator.remove() . |
Methods in com.google.common.collect with annotations of type GwtCompatible | ||
---|---|---|
ImmutableList<E> |
ImmutableCollection.asList()
Returns a list view of the collection. |
|
|
Ordering.compound(Comparator<? super U> secondaryComparator)
Returns an ordering which first uses the ordering this , but which
in the event of a "tie", then delegates to secondaryComparator . |
|
static
|
Ordering.compound(Iterable<? extends 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. |
|
static
|
Ordering.explicit(List<T> valuesInOrder)
Returns an ordering that compares objects according to the order in which they appear in the given list. |
|
static
|
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
|
Ordering.from(Comparator<T> comparator)
Returns an ordering for a pre-existing comparator . |
|
static
|
Ordering.from(Ordering<T> ordering)
Deprecated. no need to use this |
|
static
|
Sets.immutableEnumSet(E anElement,
E... otherElements)
Returns an immutable set instance containing the given enum elements. |
|
static
|
Sets.immutableEnumSet(Iterable<E> elements)
Returns an immutable set instance containing the given enum elements. |
|
|
Ordering.lexicographical()
Returns a new ordering which sorts iterables by comparing corresponding elements pairwise until a nonzero result is found; imposes "dictionary order". |
|
static
|
Ordering.natural()
Returns a serializable ordering that uses the natural order of the values. |
|
static
|
Lists.newArrayList()
Creates a mutable, empty ArrayList instance. |
|
static
|
Lists.newArrayList(E... elements)
Creates a mutable ArrayList instance containing the given
elements. |
|
static
|
Lists.newArrayList(Iterable<? extends E> elements)
Creates a mutable ArrayList instance containing the given
elements. |
|
static
|
Lists.newArrayList(Iterator<? extends E> elements)
Creates a mutable ArrayList instance containing the given
elements. |
|
static
|
Lists.newArrayListWithCapacity(int initialArraySize)
Creates an ArrayList instance backed by an array of the
exact size specified; equivalent to
ArrayList.ArrayList(int) . |
|
static
|
Lists.newArrayListWithExpectedSize(int estimatedSize)
Creates an ArrayList instance sized appropriately to hold an
estimated number of elements without resizing. |
|
static
|
Lists.newLinkedList()
Creates an empty LinkedList instance. |
|
static
|
Lists.newLinkedList(Iterable<? extends E> elements)
Creates a LinkedList instance containing the given elements. |
|
|
Ordering.nullsFirst()
Returns an ordering that treats null as less than all other values
and uses this to compare non-null values. |
|
|
Ordering.nullsLast()
Returns an ordering that treats null as greater than all other
values and uses this ordering to compare non-null values. |
|
|
Ordering.onResultOf(Function<F,? extends T> function)
Returns a new ordering on F which orders elements by first applying
a function to them, then comparing those results using this . |
|
static
|
Sets.powerSet(Set<E> set)
Returns the set of all possible subsets of set . |
|
|
Ordering.reverse()
Returns the reverse of this ordering; the Ordering equivalent to
Collections.reverseOrder(Comparator) . |
|
static Ordering<Object> |
Ordering.usingToString()
Returns an ordering that compares objects by the natural ordering of their string representations as returned by toString() . |
Uses of GwtCompatible in com.google.common.net |
---|
Classes in com.google.common.net with annotations of type GwtCompatible | |
---|---|
class |
InternetDomainName
An immutable well-formed internet domain name, as defined by RFC 1035, with the exception that names ending in "." are not supported (as they are not
generally used in browsers, email, and other end-user applications. |
Uses of GwtCompatible in com.google.common.primitives |
---|
Classes in com.google.common.primitives with annotations of type GwtCompatible | |
---|---|
class |
Booleans
Static utility methods pertaining to boolean primitives, that are not
already found in either Boolean or Arrays . |
class |
Bytes
Static utility methods pertaining to byte primitives, that are not
already found in either Byte or Arrays , and interpret
bytes as neither signed nor unsigned. |
class |
Chars
Static utility methods pertaining to char primitives, that are not
already found in either Character or Arrays . |
class |
Doubles
Static utility methods pertaining to double primitives, that are not
already found in either Double or Arrays . |
class |
Floats
Static utility methods pertaining to float primitives, that are not
already found in either Float or Arrays . |
class |
Ints
Static utility methods pertaining to int primitives, that are not
already found in either Integer or Arrays . |
class |
Longs
Static utility methods pertaining to long primitives, that are not
already found in either Long or Arrays . |
class |
Shorts
Static utility methods pertaining to short primitives, that are not
already found in either Short or Arrays . |
class |
SignedBytes
Static utility methods pertaining to byte primitives that
interpret values as signed. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |