|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
ListenableFuture that adds support for
the AbstractCheckedFuture.checkedGet() and AbstractCheckedFuture.checkedGet(long, TimeUnit) methods.AbstractCheckedFuture that wraps a delegate.
AbstractExecutionThreadService.startUp(), AbstractExecutionThreadService.run() and
AbstractExecutionThreadService.shutDown() methods.Future interface.Iterator
interface, to make this interface easier to implement for certain types of
data sources.ListenableFuture.AbstractService.doStart() and
AbstractService.doStop() requests, responding to them with AbstractService.notifyStarted()
and AbstractService.notifyStopped() callbacks.name=value
format.
element to the ImmutableList.
elements to the ImmutableList.
element to the ImmutableMultiset.
elements to the ImmutableMultiset.
element to the ImmutableSet.
elements to the ImmutableSet,
ignoring duplicate elements (only the first duplicate element is added).
element to the ImmutableSortedSet.
elements to the ImmutableSortedSet,
ignoring duplicate elements (only the first duplicate element is added).
elements to the ImmutableList.
elements to the ImmutableList.
elements to the ImmutableMultiset.
elements to the ImmutableMultiset.
elements to the ImmutableSet,
ignoring duplicate elements (only the first duplicate element is added).
elements to the ImmutableSet,
ignoring duplicate elements (only the first duplicate element is added).
elements to the ImmutableSortedSet,
ignoring duplicate elements (only the first duplicate element is added).
elements to the ImmutableSortedSet,
ignoring duplicate elements (only the first duplicate element is added).
iterable to collection.
iterator to collection.
ImmutableMultiset.
service.
value format.
It is strongly encouraged to use Objects.ToStringHelper.add(String, Object) instead and
give value a readable name.
true if every element in iterable satisfies the
predicate.
true if every element returned by iterator
satisfies the given predicate.
false.
true.
other.
true if each of its
components evaluates to true.
true if each of its
components evaluates to true.
true if both of its
components evaluate to true.
true if one or more elements in iterable satisfy
the predicate.
true if one or more elements returned by iterator
satisfy the given predicate.
char matcher that matches any character present in the
given character sequence.
parts, using the
previously configured separator between each, to appendable.
parts, using the
previously configured separator between each, to appendable.
appendable the string representation of each of the
remaining arguments.
parts, using the
previously configured separator between each, to builder.
parts, using the
previously configured separator between each, to builder.
builder the string representation of each of the
remaining arguments.
map, using the
previously configured separator and key-value separator, to appendable.
map, using the
previously configured separator and key-value separator, to builder.
true if this matcher matches the given character.
F, resulting in an object
of type T.
compare(a,
b) == 0 implies a == b (identity equality).
true if there are no differences between the two maps;
that is, if the maps are equal.
Multimap that uses an ArrayList to store
the values for a given key.Iterator to the Enumeration interface.
Arrays.asList(Object[]).
Arrays.asList(Object[]).
Arrays.asList(Object[]).
Arrays.asList(Object[]).
Arrays.asList(Object[]).
Arrays.asList(Object[]).
Arrays.asList(Object[]).
Arrays.asList(Object[]).
Appendable
target.
Searches
sortedList for key using the binary search algorithm.
boolean primitives, that are not
already found in either Boolean or Arrays.ImmutableList based on the contents of
the Builder.
ImmutableMultiset based on the contents
of the Builder.
ImmutableSet based on the contents of
the Builder.
ImmutableSortedSet based on the contents
of the Builder and its comparator.
ImmutableSetMultimap.Builder.
DataInput for reading from in-memory byte arrays; its
methods offer identical functionality but do not throw IOException.DataOutput for writing to in-memory byte arrays; its
methods offer identical functionality but do not throw IOException.byte primitives, that are not
already found in either Byte or Arrays, and interpret
bytes as neither signed nor unsigned.char
value.
int
value.
long
value.
short
value.
Callable interface.ListenableFuture that wraps another
ListenableFuture.
ListenableFuture that wraps another
ListenableFuture.
char value, just as
Predicate does for any Object.char value, used by CharMatcher.precomputed().char primitives, that are not
already found in either Character or Arrays.Charset
instances, which are guaranteed to be supported by all Java platform
implementations.char value that is equal to value, if possible.
int value that is equal to value, if possible.
short value that is equal to value, if possible.
byte value that is equal to value, if possible.
byte value that, when treated as unsigned, is equal to
value, if possible.
CheckedFuture is an extension of Future that includes
versions of the get methods that can throw a checked exception and
allows listeners to be attached to the future.Future.get() that will translate
InterruptedException, CancellationException and
ExecutionException into application-specific exceptions.
Future.get(long, TimeUnit) that will
translate InterruptedException, CancellationException and
ExecutionException into application-specific exceptions.
index specifies a valid element in an array,
list or string of size size.
index specifies a valid element in an array,
list or string of size size.
index specifies a valid position in an array,
list or string of size size.
index specifies a valid position in an array,
list or string of size size.
start and end specify a valid positions
in an array, list or string of size size, and are in order.
Closeable, with control over whether an
IOException may be thrown.
Closeable objects.close(closeable, true), but with no
IOException in the signature.
Collection instances.Ordering.natural() when the natural ordering of the keys is used.
Ordering.natural() when the natural ordering of the
elements is used.
Comparable.compareTo(T), if the result of this comparison chain
has not already been determined.
int values as specified by Ints.compare(int, int),
if the result of this comparison chain has not already been
determined.
long values as specified by Longs.compare(long, long),
if the result of this comparison chain has not already been
determined.
float values as specified by Float.compare(float, float), if the result of this comparison chain has not
already been determined.
double values as specified by Double.compare(double, double), if the result of this comparison chain has not
already been determined.
boolean values as specified by Booleans.compare(boolean, boolean), if the result of this comparison chain has not
already been determined.
boolean values in the standard way
(false is considered less than true).
char values.
double values.
float values using Float.compare(float, float).
int values.
long values.
short values.
byte values.
byte values, treating them as unsigned
values between 0 and 255 inclusive.
EnumSet consisting of all enum values that are not in
the specified collection.
EnumSet consisting of all enum values that are not in
the specified collection.
ListenableFuture that wraps another
ListenableFuture.
ListenableFuture that wraps another
ListenableFuture.
Future that wraps another Future.
this, but which
in the event of a "tie", then delegates to secondaryComparator.
element to array.
element to array.
Multiset operations (exceptions where noted).value for any input.
Iterator through Iterators.consumingIterator(Iterator).
iterator that removes each element
from the supplied iterator as it is returned.
true if iterable contains element; that is,
any object for while equals(element) is true.
true if iterator contains element.
true if target is present as an element anywhere in
array.
true if target is present as an element anywhere in
array.
true if target is present as an element anywhere in
array.
true if target is present as an element anywhere in
array.
true if target is present as an element anywhere in
array.
true if target is present as an element anywhere in
array.
true if target is present as an element anywhere in
array.
true if target is present as an element anywhere in
array.
true if this multiset contains at least one occurrence of
each element in the specified collection.
true if the multimap contains the specified key-value pair.
true if the multimap contains any values for the specified
key.
true if the multimap contains the specified value for any
key.
Readable and Appendable objects from the
given factories, copies all characters between the two, and closes
them.
Readable object from the supplier, copies all characters
to the Appendable object, and closes the input.
Readable and Appendable
objects.
InputStream supplied by a
factory.
OutputStream supplied by
a factory.
Readable and
Closeable object supplied by a factory, using the given
character set.
Appendable &
Closeable object supplied by a factory, using the given
character set.
map.
map.
multimap.
map.
multimap.
multimap.
map, sorted
by the natural ordering of the keys.
map, with
keys sorted by the provided comparator.
Comparator.
Comparator.
Comparator.
element in this multiset.
InputStream that counts the number of bytes read.ArrayListMultimap with the default initial
capacities.
ArrayListMultimap with enough capacity to hold
the specified numbers of keys and values without resizing.
ArrayListMultimap with the same mappings as the
specified multimap.
ConcurrentHashMultiset using the default
initial capacity, load factor, and concurrency settings.
ConcurrentHashMultiset containing the specified
elements, using the default initial capacity, load factor, and concurrency
settings.
EnumBiMap using the specified key and value
types.
EnumHashBiMap using the specified key type.
EnumMultiset.
EnumMultiset containing the specified elements.
HashBiMap with the default initial capacity
(16).
map.
HashMultimap with the default initial
capacities.
HashMultimap with enough capacity to hold the
specified numbers of keys and values without rehashing.
HashMultimap with the same mappings as the specified
multimap.
HashMultiset using the default initial
capacity.
HashMultiset with the specified expected
number of distinct elements.
HashMultiset containing the specified elements.
LinkedHashMultimap with the default initial
capacities.
LinkedHashMultimap with enough capacity to hold
the specified numbers of keys and values without rehashing.
LinkedHashMultimap with the same mappings as the
specified multimap.
LinkedHashMultiset using the default initial
capacity.
LinkedHashMultiset with the specified expected
number of distinct elements.
LinkedHashMultiset containing the specified elements.
LinkedListMultimap with the default initial
capacity.
LinkedListMultimap with enough capacity to hold
the specified number of keys without rehashing.
LinkedListMultimap with the same mappings as the
specified Multimap.
MutableClassToInstanceMap instance backed by a HashMap using the default initial capacity and load factor.
MutableClassToInstanceMap instance backed by a given
empty backingMap.
TreeMultimap ordered by the natural ordering of
its keys and values.
TreeMultimap instance using explicit comparators.
TreeMultimap, ordered by the natural ordering of its
keys and values, with the same mappings as the specified multimap.
ValueFuture in the default state.
java.io.tmpdir system
property), and returns its name.
iterable.
iterable.
ThreadFactory, making all new threads daemon threads.ThreadFactory which creates daemon threads.
ThreadFactory, making all new threads daemon threads.
type as defined by JLS --- 0
for numbers, false for boolean and '\0' for char.
AbstractService.start() to initiate service startup.
double primitives, that are not
already found in either Double or Arrays.computeNext must invoke this method when
there are no elements left in the iteration.
array, but
guaranteed to be of a specified minimum length.
array, but
guaranteed to be of a specified minimum length.
array, but
guaranteed to be of a specified minimum length.
array, but
guaranteed to be of a specified minimum length.
array, but
guaranteed to be of a specified minimum length.
array, but
guaranteed to be of a specified minimum length.
array, but
guaranteed to be of a specified minimum length.
array, but
guaranteed to be of a specified minimum length.
Multiset.Entry instances, each providing an element of the multiset and
the count of that element.
BiMap backed by two EnumMap instances.BiMap backed by an EnumMap instance for keys-to-values, and
a HashMap instance for values-to-keys.EnumMap.Function.
Predicate.
MapDifference.ValueDifference.leftValue()
values are equal and their MapDifference.ValueDifference.rightValue() values are also equal.
true if the object being
tested equals() the given target or both are null.
Runnable, Executor) pairs that guarantees
that every Runnable that is added using the add method will be
executed in its associated Executor after ExecutionList.run() is called.Executor that will be used to run this service.
Executor that will be used to run this service.
Executor, ExecutorService, and ThreadFactory.OutputStream that starts buffering to a byte array, but
switches to file buffering once the data reaches a configurable size.InputSupplier returned
by FileBackedOutputStream.getSupplier() is finalized.
unfiltered that satisfy a predicate.
unfiltered that satisfy a predicate.
type in unfiltered.
unfiltered that satisfy a predicate.
type in unfiltered.
unfiltered that satisfy a predicate.
unfiltered that satisfy a
predicate.
unfiltered whose keys
satisfy a predicate.
unfiltered whose values
satisfy a predicate.
finalizeReferent() method which a
background thread invokes after the garbage collector reclaims the
referent.FinalizableReference.finalizeReferent() on
them.finalizeReferent() method which a background
thread invokes after the garbage collector reclaims the referent.finalizeReferent() method which a background
thread invokes after the garbage collector reclaims the referent.iterable that satisfies the given
predicate.
iterator that satisfies the given
predicate.
float primitives, that are not
already found in either Float or Arrays.Flushable, with control over whether an
IOException may be thrown.
Flushable objects.flush(flushable, true), but with no
IOException in the signature.
array in order.
put that silently removes any existing entry
with the value value before proceeding with the BiMap.put(K, V)
operation.
Enumeration to the Iterator interface.
Character-based predicate, but which operates on primitive char
instances instead.
Future which forwards all its method calls to another future.Service that forwards all method calls to another service.comparator.
char value whose big-endian representation is
stored in the first 2 bytes of bytes; equivalent to ByteBuffer.wrap(bytes).getChar().
int value whose big-endian representation is stored in
the first 4 bytes of bytes; equivalent to ByteBuffer.wrap(bytes).getInt().
long value whose big-endian representation is
stored in the first 8 bytes of bytes; equivalent to ByteBuffer.wrap(bytes).getLong().
short value whose big-endian representation is
stored in the first ? bytes of bytes; equivalent to ByteBuffer.wrap(bytes).getShort().
ImmutableMap<String, String> from a Properties
instance.
Future interface.iterator position + 1 times, returning the element
at the positionth position.
Throwable cause chain as a list.
null if no
entry for this class is present.
iterable.
iterator to the end, returning the last element.
iterable.
iterable, or defaultValue if the iterable is empty.
iterator.
iterator, or defaultValue if the iterator is empty.
URL pointing to resourceName if the resource is
found in the class path.
URL pointing to resourceName that is relative to
contextClass, if the resource is found in the class path.
throwable.
toString(), followed by the full, recursive
stack trace of throwable.
GwtCompatible and accessible in
GWT.BiMap backed by two HashMap instances.Arrays.asList(leftValue(), rightValue()).hashCode().
value; equal to the result of invoking
((Boolean) value).hashCode().
value; equal to the result of invoking
((Byte) value).hashCode().
value; equal to the result of invoking
((Character) value).hashCode().
value; equal to the result of invoking
((Double) value).hashCode().
value; equal to the result of invoking
((Float) value).hashCode().
value; equal to the result of invoking
((Integer) value).hashCode().
value; equal to the result of invoking
((Long) value).hashCode().
value; equal to the result of invoking
((Short) value).hashCode().
Multimap using hash tables.HashMap.ImmutableSortedMap, consisting of the entries
whose keys are less than toKey.
CheckedFuture which has its value set immediately upon
construction.
CheckedFuture which has an exception set immediately
upon construction.
ListenableFuture which has an exception set immediately
upon construction.
ListenableFuture which has its value set immediately upon
construction.
BiMap with reliable user-specified iteration order.public
static final bimaps ("constant bimaps").ImmutableMap.List implementation.public static final lists ("constant lists").ListMultimap with reliable user-specified key and value
iteration order.ListMultimap instances, especially
public static final multimaps ("constant multimaps").Map with reliable user-specified iteration
order.public
static final maps ("constant maps").Multimap.public static final multimaps ("constant multimaps").public static final multisets ("constant multisets").Set with reliable, user-specified
iteration order.public static final sets ("constant sets").SetMultimap with reliable user-specified key and value
iteration order.SetMultimap instances, especially
public static final multimaps ("constant multimaps").SortedMap.public static final maps ("constant maps").SortedSet that stores its elements in a sorted array.public static final sets ("constant sets"), with a given
comparator.true if the object reference
being tested is a member of the given collection.
ImmutableMultimap that contains the results of
applying a specified function to each item in an Iterable of
values.
-1 if no matching character is present.
-1 if no character matches after
that position.
iterable of the first element that satisfies
the provided predicate, or -1 if the Iterable has no such
elements.
iterator of the first element that satisfies
the provided predicate, or -1 if the Iterator has no such
elements.
target in
array.
target within array, or -1 if there is no such occurrence.
target in
array.
target within array, or -1 if there is no such occurrence.
target in
array.
target within array, or -1 if there is no such occurrence.
target in
array.
target within array, or -1 if there is no such occurrence.
target in
array.
target within array, or -1 if there is no such occurrence.
target in
array.
target within array, or -1 if there is no such occurrence.
target in
array.
target within array, or -1 if there is no such occurrence.
target in
array.
target within array, or -1 if there is no such occurrence.
char matcher that matches any character in a given range
(both endpoints are inclusive).
true if the object being
tested is an instance of the given class.
int primitives, that are not
already found in either Integer or Arrays.source into dest, with
its key and value reversed.
char matcher that matches only one specified character.
true if the multimap contains no key-value pairs.
char matcher that matches any character except the one
specified.
true if the object reference
being tested is null.
true if each element in iterable after the first is
greater than or equal to the element that preceded it, according to this
ordering.
true if this service is running.
true if each element in iterable after the first is
strictly greater than the element that preceded it, according to
this ordering.
true if type is one of the nine
primitive-wrapper types, such as Integer.
Iterable.Iterator.Java's definition.
Character.isISOControl(char).
Java's definition.
Java's definition.
Java's definition.
Java's definition.
Java's definition; it is usually preferable
to use CharMatcher.WHITESPACE.
parts, using the previously configured separator between each.
parts, using the previously configured separator between each.
map, using the previously configured separator and key-value
separator.
InputStream suppliers into a single supplier.
ByteStreams.join(Iterable).
Reader suppliers into a single supplier.
CharStreams.join(Iterable).
boolean values separated
by separator.
char values separated
by separator.
double values, converted
to strings as specified by Double.toString(double), and separated
by separator.
float values, converted
to strings as specified by Float.toString(float), and separated by
separator.
int values separated
by separator.
long values separated
by separator.
short values separated
by separator.
byte values separated
by separator.
byte values separated by
separator.
Iterable, varargs or even a Map) with a separator.Joiner joins
iterables and arrays.-1 if no matching character is present.
target in
array.
target in
array.
target in
array.
target in
array.
target in
array.
target in
array.
target in
array.
target in
array.
boolean arrays
lexicographically.
char arrays
lexicographically.
double arrays
lexicographically.
float arrays
lexicographically.
int arrays
lexicographically.
long arrays
lexicographically.
short arrays
lexicographically.
byte arrays
lexicographically.
byte arrays
lexicographically.
readLines methods.Readable object.
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.Multiset implementation with predictable iteration order.ListMultimap that supports deterministic
iteration order for both keys and values.FutureTask that also implements the ListenableFuture
interface.ListenableFutureTask that will upon running, execute the
given Callable.
ListenableFutureTask that will upon running, execute the
given Runnable, and arrange that get will return the
given result on successful completion.
Multimap that can hold duplicate key-value pairs and that maintains
the insertion ordering of values for a given key.List instances.long primitives, that are not
already found in either Long or Arrays.CheckedFuture out of a normal Future and a
Function that maps from Exception instances into the
appropriate checked type.
ListenableFuture out of a normal Future.
Future.
FileChannel.map(java.nio.channels.FileChannel.MapMode, long, long).
FileChannel.map(java.nio.channels.FileChannel.MapMode, long, long)
using the requested FileChannel.MapMode.
FileChannel.map(java.nio.channels.FileChannel.MapMode, long, long)
using the requested FileChannel.MapMode.
InterruptedException,
CancellationException or ExecutionException to an exception
of type E.
ConcurrentMap builder, providing any combination of these
features: soft or weak keys, soft or weak values, timed expiration, and on-demand
computation of values.MapMaker instance with default settings,
including strong keys, strong values, and no automatic expiration.
Map instances.true if a character sequence contains only matching
characters.
true if a character sequence contains no matching
characters.
array.
array, using the same rules
of comparison as Math.max(double, double).
array, using the same rules
of comparison as Math.min(float, float).
array.
array.
array.
array.
array.
get() and returns that value on subsequent calls to
get().
array.
array, using the same rules of
comparison as Math.min(double, double).
array, using the same rules of
comparison as Math.min(float, float).
array.
array.
array.
array.
array.
Map, but which may associate multiple
values with a single key.Multimap.Set, but
may have duplicate elements.Multiset instances.format to construct a name for the new
thread.
backingFactory for thread
creation, then uses format to construct a name for the new thread.
ArrayList instance.
ArrayList instance containing the given
elements.
ArrayList instance containing the given
elements.
ArrayList instance containing the given
elements.
ArrayList instance backed by an array of the
exact size specified; equivalent to
ArrayList.ArrayList(int).
ArrayList instance sized appropriately to hold an
estimated number of elements without resizing.
ByteArrayDataInput instance to read from the bytes array from the beginning.
ByteArrayDataInput instance to read from the bytes array, starting at the given position.
ByteArrayDataOutput instance with a default size.
ByteArrayDataOutput instance sized to hold
size bytes before resizing.
EnumMap instance.
EnumMap with the same mappings as the specified map.
EnumSet instance containing the given elements.
HashMap instance.
HashMap instance with the same mappings as
the specified map.
HashMap instance with enough capacity to hold the
specified number of elements without rehashing.
HashSet instance.
HashSet instance containing the given
elements in unspecified order.
HashSet instance containing the given
elements in unspecified order.
HashSet instance containing the given
elements in unspecified order.
HashSet instance with enough capacity to hold the
specified number of elements without rehashing.
IdentityHashMap instance.
ByteArrayInputStream that read from the given byte array.
ByteArrayInputStream that read from the given byte array.
FileInputStream
that read from a file.
InputStream that
read from the given URL.
LinkedHashMap
instance.
LinkedHashMap instance
with the same mappings as the specified map.
LinkedHashSet instance.
LinkedHashSet instance containing the
given elements in order.
LinkedList instance.
LinkedList instance containing the given elements.
ListMultimap that uses the provided map and factory.
Multimap that uses the provided map and factory.
FileOutputStream
that write to a file.
FileOutputStream
that write to or append to a file.
interfaceType that delegates all method
calls to the target object, enforcing the specified time limit on
each call.
StringReader that
read a string value.
InputStreamReader,
using the given InputStream factory and character set.
InputStreamReader that read a file using the given character set.
InputStreamReader that read a URL using the given character set.
SetMultimap that uses the provided map and factory.
SortedSetMultimap that uses the provided map and
factory.
TreeMap instance using the natural
ordering of its elements.
TreeMap instance with the same mappings as
the specified map and using the same ordering as the specified map.
TreeMap instance using the given
comparator.
TreeSet instance sorted by the
natural sort ordering of its elements.
TreeSet instance containing the given
elements sorted by their natural ordering.
TreeSet instance with the given
comparator.
OutputStreamWriter,
using the given OutputStream factory and character set.
OutputStreamWriter
that write to a file using the given character set.
OutputStreamWriter
that write to or append to a file using the given character set.
char matcher that matches any character not present in
the given character sequence.
true if the given predicate
evaluates to false.
Service.State.FAILED.
true if the object reference
being tested is not null.
OutputStream that simply discards written bytes.null as less than all other values
and uses this to compare non-null values.
null as greater than all other
values and uses this ordering to compare non-null values.
Object.Objects.toStringHelper(java.lang.Object).ImmutableList.of(Object[]).
ImmutableList.of(Object[]).
ImmutableList.of(Object[]).
ImmutableList.of(Object[]).
ImmutableList.of(Object[]).
ImmutableList.of(Object[]).
ImmutableList.of(Object[]).
ImmutableList.of(Object[]).
ImmutableList.of(Object[]).
ImmutableList.of(Object[]).
instance.
this splitter, but
automatically omits empty strings from the results.
separator between
consecutive elements.
separator between
consecutive elements.
CharMatcher to be a separator.
pattern to be a separator.
F which orders elements by first applying
a function to them, then comparing those results using this.
other.
true if any one of its
components evaluates to true.
true if any one of its
components evaluates to true.
true if either of its
components evaluates to true.
PeekingIterator.peek().
PeekingIterator backed by the given iterator.
char matcher functionally equivalent to this one, but
which may be faster to query than the original; your mileage may vary.
Predicate instances.throwable as-is if it is an instance of
RuntimeException or Error, or else as a last resort, wraps
it in a RuntimeException then propagates.
throwable exactly as-is, if and only if it is an
instance of declaredType.
throwable exactly as-is, if and only if it is an
instance of RuntimeException or Error.
throwable exactly as-is, if and only if it is an
instance of RuntimeException, Error, or
declaredType.
throwable exactly as-is, if and only if it is an
instance of RuntimeException, Error, aDeclaredType,
or anotherDeclaredType.
key with value in the built bimap.
key with value in the built map.
key with value in the built map.
key with value in the built map.
map's keys and values in the built map.
b.
Readable & Closeable object
supplied by a factory.
DataInput.readFully(byte[]).
len bytes from the stream into the given array
starting at off, with the same behavior as
DataInput.readFully(byte[], int, int).
Readable & Closeable object
supplied by a factory.
Readable object.
Readable and Closeable object
supplied by a factory, stopping when our callback returns false, or we
have read all of the lines.
File, stopping when our callback returns
false, or we have read all of the lines.
element, or
makes no change if this is not possible.
FileBackedOutputStream.close() if not already closed, and then resets this
object back to its initial state, for reuse.
Callable which immediately returns a preset value each
time it is called.
Ordering equivalent to
Collections.reverseOrder(Comparator).
execute/submit, as in ThreadPoolExecutor.CallerRunsPolicy This
applies both to individually submitted tasks and to collections of tasks
submitted via invokeAll or invokeAny.
char nearest in value to value.
int nearest in value to value.
short nearest in value to value.
byte nearest in value to value.
byte value that, when treated as unsigned, is nearest
in value to value.
Service.start() and
Service.stop() lifecycle methods to transfer into and out of this state.value.
element such that the ConcurrentHashMultiset.count(java.lang.Object)
of the element becomes count.
element to newCount, but
only if the count is currently oldCount.
Multiset.setCount(Object, int), provided that the element has the expected
current count.
throwable.
Multimap that cannot hold duplicate key-value pairs.Set instances.short primitives, that are not
already found in either Short or Arrays.byte primitives that
interpret values as signed.ExecutorService.Executors.newCachedThreadPool() to execute proxied
method calls.
value.
iterable.
iterator.
n bytes of data from the input stream.
n characters of data from the reader.
InputSupplier that returns input streams from the
an underlying supplier, where each stream starts at the given
offset and is limited to the specified number of bytes.
SoftReference (by default, strong references
are used).
SoftReference (by default, strong references
are used).
SetMultimap whose set of values for a given key are kept sorted;
that is, they comprise a SortedSet.CharSequence passed in parameter.
CharSequence)
into substrings, by recognizing a separator (a.k.a.Service.State.NEW, this initiates service startup
and returns immediately.
Service.State.STARTING or Service.State.RUNNING, this
initiates service shutdown and returns immediately.
fromIndex, inclusive, and toIndex, exclusive.
ImmutableSortedMap, consisting of the entries
whose keys ranges from fromKey, inclusive, to toKey,
exclusive.
ListMultimap backed by the
specified multimap.
SetMultimap backed by the
specified multimap.
SortedSetMultimap backed by
the specified multimap.
get() method synchronizes on
delegate before calling it, making it thread-safe.
ImmutableSortedMap, consisting of the entries
whose keys are greater than or equals to fromKey.
Throwable.String s from this format to the specified
format.
Boolean instances into a new array of
primitive boolean values.
Byte instances into a new array of
primitive byte values.
Character instances into a new array of
primitive char values.
Double instances into a new array of
primitive double values.
Float instances into a new array of
primitive float values.
Integer instances into a new array of
primitive int values.
Long instances into a new array of
primitive long values.
Short instances into a new array of
primitive short values.
InputStream factory as a byte array.
value in a 2-element byte
array; equivalent to ByteBuffer.allocate(2).putChar(value).array().
value in a 4-element byte
array; equivalent to ByteBuffer.allocate(4).putInt(value).array().
value in an 8-element byte
array; equivalent to ByteBuffer.allocate(8).putLong(value).array().
value in a ?-element byte
array; equivalent to ByteBuffer.allocate(?).putShort(value).array().
toString method.
iterable, with the format
[e1, e2, ..., en].
iterator, with the format
[e1, e2, ..., en].
toString on the map returned by Multimap.asMap().
Readable object into a String.
Readable & Closeable object
supplied by a factory as a String.
String, using the given
character set.
String, using the given
character set.
toString() on its argument.
Objects.ToStringHelper.
function to each element of
fromCollection.
function to each element of fromIterable.
function to each element of fromIterator.
function to each element of fromList.
Multimap whose keys and values are ordered by
their natural ordering or by supplied comparators.Comparator.CharMatcher.collapseFrom(java.lang.CharSequence, char)
does, except that groups of matching characters at the start or end of the
sequence are removed without replacement.
this splitter, but
automatically removes leading and trailing whitespace from each returned substring; equivalent
to trimResults(CharMatcher.WHITESPACE).
this splitter, but
removes all leading or trailing characters matching the given CharMatcher from each returned substring.
ArrayListMultimap, if feasible.
TimeoutException.Future whose get calls cannot be interrupted.Map.values() are the given
elements in the given order, and each key is the product of invoking a
supplied function on its corresponding value.
iterable.
iterator.
UnmodifiableIterator.remove().ListMultimap.
SetMultimap.
SortedSetMultimap.
byte primitives that interpret
values as unsigned (that is, any negative value b is treated
as the positive value 256 + b).type if it is a
wrapper type; otherwise returns type itself.
nullText for any provided null keys or
values.
nullText for any provided null elements.
toString().
null
indicating that natural ordering is used.
WeakReference (by default, strong references
are used).
WeakReference (by default, strong references
are used).
MapJoiner using the given key-value separator, and the
same configuration as this Joiner otherwise.
type if it is a primitive
type; otherwise returns type itself.
write(s.getBytes(Charsets.UTF_8)).
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||