Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ArrayDeque (0.11 sec)

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

        return new ArrayBlockingQueue<>(capacity);
      }
    
      // ArrayDeque
    
      /**
       * Creates an empty {@code ArrayDeque}.
       *
       * @since 12.0
       */
      public static <E> ArrayDeque<E> newArrayDeque() {
        return new ArrayDeque<>();
      }
    
      /**
       * Creates an {@code ArrayDeque} containing the elements of the specified iterable, in the order
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

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

          this.childIterator = checkNotNull(childIterator);
        }
      }
    
      private final class PostOrderIterator extends AbstractIterator<T> {
        private final ArrayDeque<PostOrderNode<T>> stack;
    
        PostOrderIterator(T root) {
          this.stack = new ArrayDeque<>();
          stack.addLast(expand(root));
        }
    
        @Override
        @CheckForNull
        protected T computeNext() {
          while (!stack.isEmpty()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Queues.java

        return new ArrayBlockingQueue<>(capacity);
      }
    
      // ArrayDeque
    
      /**
       * Creates an empty {@code ArrayDeque}.
       *
       * @since 12.0
       */
      public static <E> ArrayDeque<E> newArrayDeque() {
        return new ArrayDeque<>();
      }
    
      /**
       * Creates an {@code ArrayDeque} containing the elements of the specified iterable, in the order
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.annotation.Annotation;
    import java.lang.reflect.AnnotatedElement;
    import java.lang.reflect.Method;
    import java.util.ArrayDeque;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Set;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        setImplementation(Deque.class, ArrayDeque.class);
        setImplementation(OutputStream.class, ByteArrayOutputStream.class);
        setImplementation(PrintStream.class, Dummies.InMemoryPrintStream.class);
        setImplementation(PrintWriter.class, Dummies.InMemoryPrintWriter.class);
        setImplementation(Queue.class, ArrayDeque.class);
        setImplementation(Random.class, Dummies.DeterministicRandom.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)
  7. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.annotation.Annotation;
    import java.lang.reflect.AnnotatedElement;
    import java.lang.reflect.Method;
    import java.util.ArrayDeque;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Set;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        setImplementation(Deque.class, ArrayDeque.class);
        setImplementation(OutputStream.class, ByteArrayOutputStream.class);
        setImplementation(PrintStream.class, Dummies.InMemoryPrintStream.class);
        setImplementation(PrintWriter.class, Dummies.InMemoryPrintWriter.class);
        setImplementation(Queue.class, ArrayDeque.class);
        setImplementation(Random.class, Dummies.DeterministicRandom.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)
  9. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

    import java.io.IOException;
    import java.nio.file.DirectoryNotEmptyException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.nio.file.StandardCopyOption;
    import java.util.ArrayDeque;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Deque;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/ByteStreams.java

    import java.io.OutputStream;
    import java.nio.ByteBuffer;
    import java.nio.channels.FileChannel;
    import java.nio.channels.ReadableByteChannel;
    import java.nio.channels.WritableByteChannel;
    import java.util.ArrayDeque;
    import java.util.Arrays;
    import java.util.Queue;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top