Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for ForwardingQueue (0.22 sec)

  1. android/guava/src/com/google/common/collect/ForwardingQueue.java

     * invoke methods, they invoke methods on the {@code ForwardingQueue}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
     * methods that they depend on are thread-safe.
     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingQueue<E extends @Nullable Object> extends ForwardingCollection<E>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingQueue.java

     * invoke methods, they invoke methods on the {@code ForwardingQueue}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
     * methods that they depend on are thread-safe.
     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingQueue<E extends @Nullable Object> extends ForwardingCollection<E>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code ForwardingQueue}.
     *
     * @author Robert Konigsberg
     * @author Louis Wasserman
     */
    public class ForwardingQueueTest extends TestCase {
    
      static final class StandardImplForwardingQueue<T> extends ForwardingQueue<T> {
        private final Queue<T> backingQueue;
    
        StandardImplForwardingQueue(Queue<T> backingQueue) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code ForwardingQueue}.
     *
     * @author Robert Konigsberg
     * @author Louis Wasserman
     */
    public class ForwardingQueueTest extends TestCase {
    
      static final class StandardImplForwardingQueue<T> extends ForwardingQueue<T> {
        private final Queue<T> backingQueue;
    
        StandardImplForwardingQueue(Queue<T> backingQueue) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ForwardingQueue;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Collection;
    import java.util.concurrent.BlockingQueue;
    import java.util.concurrent.TimeUnit;
    import javax.annotation.CheckForNull;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 3K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

       * MinMaxPriorityQueue, except poll, which is forwarded to pollMax. That way we can benchmark
       * pollMax using the same code that benchmarks poll.
       */
      static final class InvertedMinMaxPriorityQueue<T> extends ForwardingQueue<T> {
        MinMaxPriorityQueue<T> mmHeap;
    
        public InvertedMinMaxPriorityQueue(Comparator<T> comparator) {
          mmHeap = MinMaxPriorityQueue.orderedBy(comparator).create();
        }
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingDeque.java

     *
     * @author Kurt Alfred Kluever
     * @since 12.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingDeque<E extends @Nullable Object> extends ForwardingQueue<E>
        implements Deque<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingDeque() {}
    
      @Override
      protected abstract Deque<E> delegate();
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/EvictingQueue.java

     *
     * @author Kurt Alfred Kluever
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class EvictingQueue<E> extends ForwardingQueue<E> implements Serializable {
    
      private final Queue<E> delegate;
    
      @VisibleForTesting final int maxSize;
    
      private EvictingQueue(int maxSize) {
        checkArgument(maxSize >= 0, "maxSize (%s) must >= 0", maxSize);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingDeque.java

     *
     * @author Kurt Alfred Kluever
     * @since 12.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingDeque<E extends @Nullable Object> extends ForwardingQueue<E>
        implements Deque<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingDeque() {}
    
      @Override
      protected abstract Deque<E> delegate();
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

       * MinMaxPriorityQueue, except poll, which is forwarded to pollMax. That way we can benchmark
       * pollMax using the same code that benchmarks poll.
       */
      static final class InvertedMinMaxPriorityQueue<T> extends ForwardingQueue<T> {
        MinMaxPriorityQueue<T> mmHeap;
    
        public InvertedMinMaxPriorityQueue(Comparator<T> comparator) {
          mmHeap = MinMaxPriorityQueue.orderedBy(comparator).create();
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top