Uses of Class
com.google.common.annotations.Beta
-
Packages that use Beta Package Description com.google.common.base Basic utility libraries and interfaces.com.google.common.collect Collection interfaces and implementations, and other utilities for collections.com.google.common.graph An API for representing graph (node and edge) data.com.google.common.hash Hash functions and related structures.com.google.common.io Utility methods and classes for 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.base
Methods in com.google.common.base with annotations of type Beta Modifier and Type Method Description static <T extends @Nullable java.lang.Object>
Supplier<T>Suppliers. memoizeWithExpiration(Supplier<T> delegate, java.time.Duration duration)
Returns a supplier that caches the instance supplied by the delegate and removes the cached value after the specified time has passed. -
Uses of Beta in com.google.common.collect
Classes in com.google.common.collect with annotations of type Beta Modifier and Type Class Description class
TreeTraverser<T>
Deprecated.UseTraverser
instead.Methods in com.google.common.collect with annotations of type Beta Modifier and Type Method Description static <A extends @Nullable java.lang.Object,B extends @Nullable java.lang.Object>
voidStreams. forEachPair(java.util.stream.Stream<A> streamA, java.util.stream.Stream<B> streamB, java.util.function.BiConsumer<? super A,? super B> consumer)
Invokesconsumer
once for each pair of corresponding elements instreamA
andstreamB
.static <T> java.util.stream.Stream<T>
Streams. stream(java.util.Optional<T> optional)
If a value is present inoptional
, returns a stream containing only that element, otherwise returns an empty stream.static java.util.stream.DoubleStream
Streams. stream(java.util.OptionalDouble optional)
If a value is present inoptional
, returns a stream containing only that element, otherwise returns an empty stream.static java.util.stream.IntStream
Streams. stream(java.util.OptionalInt optional)
If a value is present inoptional
, returns a stream containing only that element, otherwise returns an empty stream.static java.util.stream.LongStream
Streams. stream(java.util.OptionalLong optional)
If a value is present inoptional
, returns a stream containing only that element, otherwise returns an empty stream.static <A extends @Nullable java.lang.Object,B extends @Nullable java.lang.Object,R extends @Nullable java.lang.Object>
java.util.stream.Stream<R>Streams. zip(java.util.stream.Stream<A> streamA, java.util.stream.Stream<B> streamB, java.util.function.BiFunction<? super A,? super B,R> function)
Returns a stream in which each element is the result of passing the corresponding element of each ofstreamA
andstreamB
tofunction
. -
Uses of Beta in com.google.common.graph
Classes in com.google.common.graph with annotations of type Beta Modifier and Type Class Description class
AbstractGraph<N>
This class provides a skeletal implementation ofGraph
.class
AbstractNetwork<N,E>
This class provides a skeletal implementation ofNetwork
.class
AbstractValueGraph<N,V>
This class provides a skeletal implementation ofValueGraph
.class
ElementOrder<T>
Used to represent the order of elements in a data structure that supports different options for iteration order guarantees.class
EndpointPair<N>
An immutable pair representing the two endpoints of an edge in a graph.interface
Graph<N>
An interface for graph-structured data, whose edges are anonymous entities with no identity or information of their own.class
GraphBuilder<N>
A builder for constructing instances ofMutableGraph
orImmutableGraph
with user-defined properties.class
Graphs
class
ImmutableGraph<N>
AGraph
whose elements and structural relationships will never change.class
ImmutableNetwork<N,E>
ANetwork
whose elements and structural relationships will never change.class
ImmutableValueGraph<N,V>
AValueGraph
whose elements and structural relationships will never change.interface
MutableGraph<N>
A subinterface ofGraph
which adds mutation methods.interface
MutableNetwork<N,E>
A subinterface ofNetwork
which adds mutation methods.interface
MutableValueGraph<N,V>
A subinterface ofValueGraph
which adds mutation methods.interface
Network<N,E>
An interface for graph-structured data, whose edges are unique objects.class
NetworkBuilder<N,E>
A builder for constructing instances ofMutableNetwork
orImmutableNetwork
with user-defined properties.interface
PredecessorsFunction<N>
A functional interface for graph-structured data.interface
SuccessorsFunction<N>
A functional interface for graph-structured data.class
Traverser<N>
An object that can traverse the nodes that are reachable from a specified (set of) start node(s) using a specifiedSuccessorsFunction
.interface
ValueGraph<N,V>
An interface for graph-structured data, whose edges have associated non-unique values.class
ValueGraphBuilder<N,V>
A builder for constructing instances ofMutableValueGraph
orImmutableValueGraph
with user-defined properties. -
Uses of Beta in com.google.common.hash
Classes in com.google.common.hash with annotations of type Beta Modifier and Type Class Description class
BloomFilter<T extends @Nullable java.lang.Object>
A Bloom filter for instances ofT
.interface
Funnel<T extends @Nullable java.lang.Object>
An object which can send data from an object of typeT
into aPrimitiveSink
.class
Funnels
Funnels for common types.interface
Hasher
APrimitiveSink
that can compute a hash code after reading the input.class
HashingInputStream
AnInputStream
that maintains a hash of the data read from it.class
HashingOutputStream
AnOutputStream
that maintains a hash of the data written to it.interface
PrimitiveSink
An object which can receive a stream of primitive values. -
Uses of Beta in com.google.common.io
Classes in com.google.common.io with annotations of type Beta Modifier and Type Class Description class
FileBackedOutputStream
AnOutputStream
that starts buffering to a byte array, but switches to file buffering once the data reaches a configurable size.Methods in com.google.common.io with annotations of type Beta Modifier and Type Method Description static java.io.File
Files. createTempDir()
Deprecated.For Android users, see the Data and File Storage overview to select an appropriate temporary directory (perhapscontext.getCacheDir()
), and create your own directory under that.static void
Flushables. flushQuietly(java.io.Flushable flushable)
Equivalent to callingflush(flushable, true)
, but with noIOException
in the signature. -
Uses of Beta in com.google.common.util.concurrent
Classes in com.google.common.util.concurrent with annotations of type Beta Modifier and Type Class Description class
RateLimiter
A rate limiter.
-