Uses of Class
org.docx4j.com.google.common.annotations.GwtIncompatible

  • Uses of GwtIncompatible in org.docx4j.com.google.common.base

    Methods in org.docx4j.com.google.common.base with annotations of type GwtIncompatible 
    Modifier and Type Method Description
    java.time.Duration Stopwatch.elapsed()
    Returns the current elapsed time shown on this stopwatch as a Duration.
    static <X extends java.lang.Throwable>
    X
    Throwables.getCauseAs​(java.lang.Throwable throwable, java.lang.Class<X> expectedCauseType)
    Returns throwable's cause, cast to expectedCauseType.
    static java.lang.String Throwables.getStackTraceAsString​(java.lang.Throwable throwable)
    Returns a string containing the result of toString(), followed by the full, recursive stack trace of throwable.
    static java.util.List<java.lang.StackTraceElement> Throwables.lazyStackTrace​(java.lang.Throwable throwable)
    Returns the stack trace of throwable, possibly providing slower iteration over the full trace but faster iteration over parts of the trace.
    static boolean Throwables.lazyStackTraceIsLazy()
    Returns whether Throwables.lazyStackTrace(java.lang.Throwable) will use the special implementation described in its documentation.
    static java.lang.RuntimeException Throwables.propagate​(java.lang.Throwable throwable)
    Deprecated.
    Use throw e or throw new RuntimeException(e) directly, or use a combination of Throwables.throwIfUnchecked(java.lang.Throwable) and throw new RuntimeException(e).
    static <X extends java.lang.Throwable>
    void
    Throwables.propagateIfInstanceOf​(@Nullable java.lang.Throwable throwable, java.lang.Class<X> declaredType)
    Deprecated.
    Use Throwables.throwIfInstanceOf(java.lang.Throwable, java.lang.Class<X>), which has the same behavior but rejects null.
    static void Throwables.propagateIfPossible​(@Nullable java.lang.Throwable throwable)
    Deprecated.
    Use Throwables.throwIfUnchecked(java.lang.Throwable), which has the same behavior but rejects null.
    static <X extends java.lang.Throwable>
    void
    Throwables.propagateIfPossible​(@Nullable java.lang.Throwable throwable, java.lang.Class<X> declaredType)
    Propagates throwable exactly as-is, if and only if it is an instance of RuntimeException, Error, or declaredType.
    static <X1 extends java.lang.Throwable,​ X2 extends java.lang.Throwable>
    void
    Throwables.propagateIfPossible​(@Nullable java.lang.Throwable throwable, java.lang.Class<X1> declaredType1, java.lang.Class<X2> declaredType2)
    Propagates throwable exactly as-is, if and only if it is an instance of RuntimeException, Error, declaredType1, or declaredType2.
    static <X extends java.lang.Throwable>
    void
    Throwables.throwIfInstanceOf​(java.lang.Throwable throwable, java.lang.Class<X> declaredType)
    Throws throwable if it is an instance of declaredType.
  • Uses of GwtIncompatible in org.docx4j.com.google.common.cache

    Methods in org.docx4j.com.google.common.cache with annotations of type GwtIncompatible 
    Modifier and Type Method Description
    CacheBuilder<K,​V> CacheBuilder.expireAfterAccess​(java.time.Duration duration)
    Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, the most recent replacement of its value, or its last access.
    CacheBuilder<K,​V> CacheBuilder.expireAfterWrite​(java.time.Duration duration)
    Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.
    CacheBuilder<K,​V> CacheBuilder.maximumWeight​(long maximumWeight)
    Specifies the maximum weight of entries the cache may contain.
    CacheBuilder<K,​V> CacheBuilder.refreshAfterWrite​(long duration, java.util.concurrent.TimeUnit unit)
    Specifies that active entries are eligible for automatic refresh once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.
    CacheBuilder<K,​V> CacheBuilder.refreshAfterWrite​(java.time.Duration duration)
    Specifies that active entries are eligible for automatic refresh once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.
    ListenableFuture<V> CacheLoader.reload​(K key, V oldValue)
    Computes or retrieves a replacement value corresponding to an already-cached key.
    CacheBuilder<K,​V> CacheBuilder.softValues()
    Specifies that each value (not key) stored in the cache should be wrapped in a SoftReference (by default, strong references are used).
    CacheBuilder<K,​V> CacheBuilder.weakKeys()
    Specifies that each key (not value) stored in the cache should be wrapped in a WeakReference (by default, strong references are used).
    CacheBuilder<K,​V> CacheBuilder.weakValues()
    Specifies that each value (not key) stored in the cache should be wrapped in a WeakReference (by default, strong references are used).
    <K1 extends K,​ V1 extends V>
    CacheBuilder<K1,​V1>
    CacheBuilder.weigher​(Weigher<? super K1,​? super V1> weigher)
    Specifies the weigher to use in determining the weight of entries.
  • Uses of GwtIncompatible in org.docx4j.com.google.common.collect

    Methods in org.docx4j.com.google.common.collect with annotations of type GwtIncompatible 
    Modifier and Type Method Description
    static <T> T[] ObjectArrays.concat​(T[] first, T[] second, java.lang.Class<T> type)
    Returns a new array that contains the concatenated contents of two arrays.
    static <E> int Queues.drain​(java.util.concurrent.BlockingQueue<E> q, java.util.Collection<? super E> buffer, int numElements, long timeout, java.util.concurrent.TimeUnit unit)
    Drains the queue as BlockingQueue.drainTo(Collection, int), but if the requested numElements elements are not available, it will wait for them up to the specified timeout.
    static <E> int Queues.drainUninterruptibly​(java.util.concurrent.BlockingQueue<E> q, java.util.Collection<? super E> buffer, int numElements, long timeout, java.util.concurrent.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.
    static <T> T[] ObjectArrays.newArray​(java.lang.Class<T> type, int length)
    Returns a new array of the given length with the specified component type.
    static <E> java.util.concurrent.ArrayBlockingQueue<E> Queues.newArrayBlockingQueue​(int capacity)
    Creates an empty ArrayBlockingQueue with the given (fixed) capacity and nonfair access policy.
    static <E> java.util.concurrent.ConcurrentLinkedQueue<E> Queues.newConcurrentLinkedQueue()
    Creates an empty ConcurrentLinkedQueue.
    static <E> java.util.concurrent.CopyOnWriteArraySet<E> Sets.newCopyOnWriteArraySet()
    Creates an empty CopyOnWriteArraySet instance.
    static <E> java.util.concurrent.LinkedBlockingDeque<E> Queues.newLinkedBlockingDeque()
    Creates an empty LinkedBlockingDeque with a capacity of Integer.MAX_VALUE.
    static <E> java.util.concurrent.LinkedBlockingDeque<E> Queues.newLinkedBlockingDeque​(int capacity)
    Creates an empty LinkedBlockingDeque with the given (fixed) capacity.
    static <E> java.util.concurrent.LinkedBlockingQueue<E> Queues.newLinkedBlockingQueue()
    Creates an empty LinkedBlockingQueue with a capacity of Integer.MAX_VALUE.
    static <E> java.util.concurrent.LinkedBlockingQueue<E> Queues.newLinkedBlockingQueue​(int capacity)
    Creates an empty LinkedBlockingQueue with the given (fixed) capacity.
    static <E extends java.lang.Comparable>
    java.util.concurrent.PriorityBlockingQueue<E>
    Queues.newPriorityBlockingQueue()
    Creates an empty PriorityBlockingQueue with the ordering given by its elements' natural ordering.
    static <E> java.util.concurrent.SynchronousQueue<E> Queues.newSynchronousQueue()
    Creates an empty SynchronousQueue with nonfair access policy.
  • Uses of GwtIncompatible in org.docx4j.com.google.common.math

    Methods in org.docx4j.com.google.common.math with annotations of type GwtIncompatible 
    Modifier and Type Method Description
    static int IntMath.log10​(int x, java.math.RoundingMode mode)
    Returns the base-10 logarithm of x, rounded according to the specified rounding mode.
    static int IntMath.pow​(int b, int k)
    Returns b to the kth power.
    static int IntMath.sqrt​(int x, java.math.RoundingMode mode)
    Returns the square root of x, rounded with the specified rounding mode.
  • Uses of GwtIncompatible in org.docx4j.com.google.common.util.concurrent

    Classes in org.docx4j.com.google.common.util.concurrent with annotations of type GwtIncompatible 
    Modifier and Type Class Description
    class  AbstractListeningExecutorService
    Abstract ListeningExecutorService implementation that creates ListenableFuture instances for each Runnable and Callable submitted to it.
    interface  ListeningExecutorService
    An ExecutorService that returns ListenableFuture instances.
    interface  ListeningScheduledExecutorService
    A ScheduledExecutorService that returns ListenableFuture instances from its ExecutorService methods.
    Methods in org.docx4j.com.google.common.util.concurrent with annotations of type GwtIncompatible 
    Modifier and Type Method Description
    static void Uninterruptibles.awaitUninterruptibly​(java.util.concurrent.CountDownLatch latch)
    Invokes latch.await() uninterruptibly.
    static boolean Uninterruptibles.awaitUninterruptibly​(java.util.concurrent.CountDownLatch latch, long timeout, java.util.concurrent.TimeUnit unit)
    Invokes latch.await(timeout, unit) uninterruptibly.
    static boolean Uninterruptibles.awaitUninterruptibly​(java.util.concurrent.locks.Condition condition, long timeout, java.util.concurrent.TimeUnit unit)
    Invokes condition.await(timeout, unit) uninterruptibly.
    static <V> V Uninterruptibles.getUninterruptibly​(java.util.concurrent.Future<V> future, long timeout, java.util.concurrent.TimeUnit unit)
    Invokes future.get(timeout, unit) uninterruptibly.
    static void Uninterruptibles.joinUninterruptibly​(java.lang.Thread toJoin)
    Invokes toJoin.join() uninterruptibly.
    static void Uninterruptibles.joinUninterruptibly​(java.lang.Thread toJoin, long timeout, java.util.concurrent.TimeUnit unit)
    Invokes unit.timedJoin(toJoin, timeout) uninterruptibly.
    static ListeningExecutorService MoreExecutors.newDirectExecutorService()
    Creates an executor service that runs each task in the thread that invokes execute/submit, as in ThreadPoolExecutor.CallerRunsPolicy This applies both to individually submitted tasks and to collections of tasks submitted via invokeAll or invokeAny.
    static java.util.concurrent.ThreadFactory MoreExecutors.platformThreadFactory()
    Returns a default thread factory used to create new threads.
    static <E> void Uninterruptibles.putUninterruptibly​(java.util.concurrent.BlockingQueue<E> queue, E element)
    Invokes queue.put(element) uninterruptibly.
    static boolean MoreExecutors.shutdownAndAwaitTermination​(java.util.concurrent.ExecutorService service, long timeout, java.util.concurrent.TimeUnit unit)
    Shuts down the given executor service gradually, first disabling new submissions and later, if necessary, cancelling remaining tasks.
    static void Uninterruptibles.sleepUninterruptibly​(long sleepFor, java.util.concurrent.TimeUnit unit)
    Invokes unit.sleep(sleepFor) uninterruptibly.
    static <E> E Uninterruptibles.takeUninterruptibly​(java.util.concurrent.BlockingQueue<E> queue)
    Invokes queue.take() uninterruptibly.
    static boolean Uninterruptibles.tryAcquireUninterruptibly​(java.util.concurrent.Semaphore semaphore, int permits, long timeout, java.util.concurrent.TimeUnit unit)
    Invokes semaphore.tryAcquire(permits, timeout, unit) uninterruptibly.
    static boolean Uninterruptibles.tryAcquireUninterruptibly​(java.util.concurrent.Semaphore semaphore, long timeout, java.util.concurrent.TimeUnit unit)
    Invokes semaphore.tryAcquire(1, timeout, unit) uninterruptibly.
    FluentFuture<V> FluentFuture.withTimeout​(long timeout, java.util.concurrent.TimeUnit unit, java.util.concurrent.ScheduledExecutorService scheduledExecutor)
    Returns a future that delegates to this future but will finish early (via a TimeoutException wrapped in an ExecutionException) if the specified timeout expires.
    static <V> ListenableFuture<V> Futures.withTimeout​(ListenableFuture<V> delegate, long time, java.util.concurrent.TimeUnit unit, java.util.concurrent.ScheduledExecutorService scheduledExecutor)
    Returns a future that delegates to another but will finish early (via a TimeoutException wrapped in an ExecutionException) if the specified duration expires.