Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for LinkedBlockingDeque (0.1 sec)

  1. guava/src/com/google/common/collect/Queues.java

        return queue;
      }
    
      // LinkedBlockingDeque
    
      /**
       * Creates an empty {@code LinkedBlockingDeque} with a capacity of {@link Integer#MAX_VALUE}.
       *
       * @since 12.0
       */
      @J2ktIncompatible
      @GwtIncompatible // LinkedBlockingDeque
      public static <E> LinkedBlockingDeque<E> newLinkedBlockingDeque() {
        return new LinkedBlockingDeque<>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Queues.java

        return queue;
      }
    
      // LinkedBlockingDeque
    
      /**
       * Creates an empty {@code LinkedBlockingDeque} with a capacity of {@link Integer#MAX_VALUE}.
       *
       * @since 12.0
       */
      @J2ktIncompatible
      @GwtIncompatible // LinkedBlockingDeque
      public static <E> LinkedBlockingDeque<E> newLinkedBlockingDeque() {
        return new LinkedBlockingDeque<>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                new TestStringQueueGenerator() {
                  @Override
                  public Queue<String> create(String[] elements) {
                    return new LinkedBlockingDeque<>(MinimalCollection.of(elements));
                  }
                })
            .named("LinkedBlockingDeque")
            .withFeatures(
                CollectionFeature.GENERAL_PURPOSE, CollectionFeature.KNOWN_ORDER, CollectionSize.ANY)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/QueuesTest.java

            new LinkedBlockingQueue<Object>(),
            new LinkedBlockingQueue<Object>(10),
            new SynchronousQueue<Object>(),
            new ArrayBlockingQueue<Object>(10),
            new LinkedBlockingDeque<Object>(),
            new LinkedBlockingDeque<Object>(10),
            new PriorityBlockingQueue<Object>(10, Ordering.arbitrary()));
      }
    
      /*
       * We need to perform operations in a thread pool, even for simple cases, because the queue might
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

            type);
      }
    
      static {
        setImplementation(Appendable.class, StringBuilder.class);
        setImplementation(BlockingQueue.class, LinkedBlockingDeque.class);
        setImplementation(BlockingDeque.class, LinkedBlockingDeque.class);
        setImplementation(ConcurrentMap.class, ConcurrentHashMap.class);
        setImplementation(ConcurrentNavigableMap.class, ConcurrentSkipListMap.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

            type);
      }
    
      static {
        setImplementation(Appendable.class, StringBuilder.class);
        setImplementation(BlockingQueue.class, LinkedBlockingDeque.class);
        setImplementation(BlockingDeque.class, LinkedBlockingDeque.class);
        setImplementation(ConcurrentMap.class, ConcurrentHashMap.class);
        setImplementation(ConcurrentNavigableMap.class, ConcurrentSkipListMap.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top