|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Beta | |
---|---|
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.io | This package contains utility methods and classes for working with Java I/O, for example input streams, output streams, readers, writers, and files. |
com.google.common.util.concurrent | Concurrency utilities. |
Uses of Beta in com.google.common.annotations |
---|
Classes in com.google.common.annotations with annotations of type Beta | |
---|---|
interface |
Beta
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release. |
Uses of Beta in com.google.common.base |
---|
Classes in com.google.common.base with annotations of type Beta | |
---|---|
class |
CharMatcher
Determines a true or false value for any Java char value, just as
Predicate does for any Object . |
interface |
Equivalence<T>
A strategy for determining whether two instances are considered equivalent. |
class |
Equivalences
Contains static factory methods for creating Equivalence instances. |
interface |
Service
An object with an operational state, plus asynchronous Service.start() and
Service.stop() lifecycle methods to transfer into and out of this state. |
Methods in com.google.common.base with annotations of type Beta | |
---|---|
static Predicate<CharSequence> |
Predicates.containsPattern(String pattern)
Returns a predicate that evaluates to true if the
CharSequence being tested contains any match for the given
regular expression pattern. |
static List<Throwable> |
Throwables.getCausalChain(Throwable throwable)
Gets a Throwable cause chain as a list. |
static Exception |
Throwables.throwCause(Exception exception,
boolean combineStackTraces)
Rethrows the cause exception of a given throwable, discarding the original throwable. |
Uses of Beta in com.google.common.collect |
---|
Classes in com.google.common.collect with annotations of type Beta | |
---|---|
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. |
interface |
Interner<E>
Provides equivalent behavior to String.intern() for other immutable
types. |
class |
Interners
Contains static methods pertaining to instances of Interner . |
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. |
Methods in com.google.common.collect with annotations of type Beta | ||
---|---|---|
static
|
Iterables.consumingIterable(Iterable<T> iterable)
Returns a view of the supplied iterable that wraps each generated Iterator through Iterators.consumingIterator(Iterator) . |
|
static
|
Iterators.consumingIterator(Iterator<T> iterator)
Returns a view of the supplied iterator that removes each element
from the supplied iterator as it is returned. |
|
static
|
Iterables.get(Iterable<T> iterable,
int position,
T defaultValue)
Returns the element at the specified position in an iterable or a default value otherwise. |
|
static
|
Iterators.get(Iterator<T> iterator,
int position,
T defaultValue)
Advances iterator position + 1 times, returning the
element at the position th position or defaultValue
otherwise. |
|
static
|
Iterables.limit(Iterable<T> iterable,
int limitSize)
Creates an iterable with the first limitSize elements of the given
iterable. |
|
static
|
Iterators.limit(Iterator<T> iterator,
int limitSize)
Creates an iterator returning the first limitSize elements of the
given iterator. |
|
static
|
Iterables.skip(Iterable<T> iterable,
int numberToSkip)
Returns a view of iterable that skips its first
numberToSkip elements. |
|
static
|
Iterators.skip(Iterator<T> iterator,
int numberToSkip)
Calls next() on iterator , either numberToSkip times
or until hasNext() returns false , whichever comes first. |
|
static
|
Sets.symmetricDifference(Set<? extends E> set1,
Set<? extends E> set2)
Returns an unmodifiable view of the symmetric difference of two sets. |
|
static
|
ImmutableSortedSet.withExplicitOrder(E firstElement,
E... remainingElementsInOrder)
Returns an immutable sorted set containing the provided elements in the same order. |
|
static
|
ImmutableSortedSet.withExplicitOrder(List<E> elements)
Returns an immutable sorted set containing the elements in the given list in the same order. |
Uses of Beta in com.google.common.io |
---|
Classes in com.google.common.io with annotations of type Beta | |
---|---|
interface |
ByteProcessor<T>
A callback interface to process bytes from a stream. |
class |
ByteStreams
Provides utility methods for working with byte arrays and I/O streams. |
class |
CharStreams
Provides utility methods for working with character streams. |
class |
Closeables
Utility methods for working with Closeable objects. |
class |
CountingInputStream
An InputStream that counts the number of bytes read. |
class |
CountingOutputStream
An OutputStream that counts the number of bytes written. |
class |
FileBackedOutputStream
An OutputStream that starts buffering to a byte array, but
switches to file buffering once the data reaches a configurable size. |
class |
Files
Provides utility methods for working with files. |
class |
Flushables
Utility methods for working with Flushable objects. |
class |
LimitInputStream
An InputStream that limits the number of bytes which can be read. |
interface |
LineProcessor<T>
A callback to be used with the streaming readLines methods. |
class |
LineReader
A class for reading lines of text. |
class |
NullOutputStream
Implementation of OutputStream that simply discards written bytes. |
class |
PatternFilenameFilter
File name filter that only accepts files matching a regular expression. |
class |
Resources
Provides utility methods for working with resources in the classpath. |
Uses of Beta in com.google.common.util.concurrent |
---|
Classes in com.google.common.util.concurrent with annotations of type Beta | |
---|---|
class |
AbstractCheckedFuture<V,E extends Exception>
A delegating wrapper around a ListenableFuture that adds support for
the AbstractCheckedFuture.checkedGet() and AbstractCheckedFuture.checkedGet(long, TimeUnit) methods. |
class |
AbstractExecutionThreadService
Base class for services that can implement AbstractExecutionThreadService.startUp() , AbstractExecutionThreadService.run() and
AbstractExecutionThreadService.shutDown() methods. |
class |
AbstractFuture<V>
An abstract implementation of the Future interface. |
class |
AbstractIdleService
Base class for services that do not need a thread while "running" but may need one during startup and shutdown. |
class |
AbstractListenableFuture<V>
An abstract base implementation of the listener support provided by ListenableFuture . |
class |
AbstractService
Base class for implementing services that can handle AbstractService.doStart() and
AbstractService.doStop() requests, responding to them with AbstractService.notifyStarted()
and AbstractService.notifyStopped() callbacks. |
class |
Callables
Static utility methods pertaining to the Callable interface. |
interface |
CheckedFuture<V,E extends Exception>
A 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. |
class |
DaemonThreadFactory
Wraps another ThreadFactory , making all new threads daemon threads. |
class |
ExecutionList
A list of ( 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. |
class |
FakeTimeLimiter
A TimeLimiter implementation which actually does not attempt to limit time at all. |
class |
ForwardingListenableFuture<V>
A ForwardingFuture that also implements ListenableFuture . |
class |
ForwardingService
A Service that forwards all method calls to another service. |
class |
Futures
Static utility methods pertaining to the Future interface. |
interface |
ListenableFuture<V>
This interface defines a future that has listeners attached to it, which is useful for asynchronous workflows. |
class |
ListenableFutureTask<V>
A FutureTask that also implements the ListenableFuture
interface. |
class |
MoreExecutors
Factory and utility methods for Executor , ExecutorService , and ThreadFactory . |
class |
NamingThreadFactory
A ThreadFactory which decorates another ThreadFactory to set a name on each thread created. |
class |
SimpleTimeLimiter
A TimeLimiter that runs method calls in the background using an ExecutorService . |
class |
ThreadFactoryBuilder
A ThreadFactory builder, providing any combination of these features: whether threads should be marked as daemon threads a naming format a thread priority an uncaught exception handler a backing thread factory If no backing thread factory is provided, new threads are created using Thread.Thread(Runnable) . |
interface |
TimeLimiter
Produces proxies that impose a time limit on method calls to the proxied object. |
interface |
UninterruptibleFuture<V>
A Future whose get calls cannot be interrupted. |
class |
ValueFuture<V>
A simple ListenableFuture that holds a value or an exception. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |