Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ForwardingQueue (0.11 sec)

  1. 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>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  2. 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>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. 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;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 3K 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;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top