Uses of Annotation Type
org.docx4j.com.google.common.annotations.Beta
Packages that use Beta
Package
Description
-
Uses of Beta in org.docx4j.com.google.common.base
Methods in org.docx4j.com.google.common.base with annotations of type BetaModifier and TypeMethodDescriptionThrowables.getCausalChain(Throwable throwable) Gets aThrowablecause chain as a list.static <X extends Throwable>
XThrowables.getCauseAs(Throwable throwable, Class<X> expectedCauseType) Returnsthrowable's cause, cast toexpectedCauseType.static List<StackTraceElement>Throwables.lazyStackTrace(Throwable throwable) Returns the stack trace ofthrowable, possibly providing slower iteration over the full trace but faster iteration over parts of the trace.static booleanThrowables.lazyStackTraceIsLazy()Returns whetherThrowables.lazyStackTrace(java.lang.Throwable)will use the special implementation described in its documentation. -
Uses of Beta in org.docx4j.com.google.common.collect
Methods in org.docx4j.com.google.common.collect with annotations of type BetaModifier and TypeMethodDescriptionstatic <E> ImmutableSet.Builder<E>ImmutableSet.builderWithExpectedSize(int expectedSize) Returns a new builder, expecting the specified number of distinct elements to be added.static <E> intQueues.drain(BlockingQueue<E> q, Collection<? super E> buffer, int numElements, long timeout, TimeUnit unit) Drains the queue asBlockingQueue.drainTo(Collection, int), but if the requestednumElementselements are not available, it will wait for them up to the specified timeout.static <E> intQueues.drainUninterruptibly(BlockingQueue<E> q, Collection<? super E> buffer, int numElements, long timeout, TimeUnit unit) Drains the queue as Queues.drain(BlockingQueue, Collection, int, long, TimeUnit), but with a different behavior in case it is interrupted while waiting.default voidMultiset.forEachEntry(ObjIntConsumer<? super E> action) Runs the specified action for each distinct element in this multiset, and the number of occurrences of that element. -
Uses of Beta in org.docx4j.com.google.common.math
Methods in org.docx4j.com.google.common.math with annotations of type BetaModifier and TypeMethodDescriptionstatic intIntMath.ceilingPowerOfTwo(int x) Returns the smallest power of two greater than or equal tox.static intIntMath.floorPowerOfTwo(int x) Returns the largest power of two less than or equal tox.static intIntMath.saturatedAdd(int a, int b) Returns the sum ofaandbunless it would overflow or underflow in which caseInteger.MAX_VALUEorInteger.MIN_VALUEis returned, respectively.static intIntMath.saturatedMultiply(int a, int b) Returns the product ofaandbunless it would overflow or underflow in which caseInteger.MAX_VALUEorInteger.MIN_VALUEis returned, respectively.static intIntMath.saturatedPow(int b, int k) Returns thebto thekth power, unless it would overflow or underflow in which caseInteger.MAX_VALUEorInteger.MIN_VALUEis returned, respectively.static intIntMath.saturatedSubtract(int a, int b) Returns the difference ofaandbunless it would overflow or underflow in which caseInteger.MAX_VALUEorInteger.MIN_VALUEis returned, respectively. -
Uses of Beta in org.docx4j.com.google.common.primitives
Methods in org.docx4j.com.google.common.primitives with annotations of type BetaModifier and TypeMethodDescriptionstatic intInts.constrainToRange(int value, int min, int max) Returns the value nearest tovaluewhich is within the closed range[min..max]. -
Uses of Beta in org.docx4j.com.google.common.util.concurrent
Classes in org.docx4j.com.google.common.util.concurrent with annotations of type BetaModifier and TypeClassDescriptionclassAbstractListeningExecutorServiceimplementation that createsListenableFutureinstances for eachRunnableandCallablesubmitted to it.classFluentFuture<V>AListenableFuturethat supports fluent chains of operations.interfaceHelper interface to implement bothListenableFutureandScheduledFuture.Methods in org.docx4j.com.google.common.util.concurrent with annotations of type BetaModifier and TypeMethodDescriptionprotected voidAbstractFuture.afterDone()Callback method that is called exactly once after the future is completed.static ThreadFactoryMoreExecutors.platformThreadFactory()Returns a default thread factory used to create new threads.protected booleanAbstractFuture.setFuture(ListenableFuture<? extends V> future) Sets the result of thisFutureto match the supplied inputFutureonce the suppliedFutureis done, unless thisFuturehas already been cancelled or set (including "set asynchronously," defined below).booleanSettableFuture.setFuture(ListenableFuture<? extends V> future) static booleanMoreExecutors.shutdownAndAwaitTermination(ExecutorService service, long timeout, TimeUnit unit) Shuts down the given executor service gradually, first disabling new submissions and later, if necessary, cancelling remaining tasks.static <I,O> ListenableFuture<O> Futures.transform(ListenableFuture<I> input, Function<? super I, ? extends O> function, Executor executor) Returns a newFuturewhose result is derived from the result of the givenFuture.static <V> ListenableFuture<V>Futures.withTimeout(ListenableFuture<V> delegate, long time, TimeUnit unit, ScheduledExecutorService scheduledExecutor) Returns a future that delegates to another but will finish early (via aTimeoutExceptionwrapped in anExecutionException) if the specified duration expires.