Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for ArrayDeque (0.19 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  2. android/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()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        }
    
        /**
         * {@link ArrayDeque}の新しいインスタンスを作成して返します。
         *
         * @param <E>
         *            {@link ArrayDeque}の要素型
         * @return {@link ArrayDeque}の新しいインスタンス
         * @see ArrayDeque#ArrayDeque()
         */
        public static <E> ArrayDeque<E> newArrayDeque() {
            return new ArrayDeque<>();
        }
    
        /**
         * {@link ArrayDeque}の新しいインスタンスを作成して返します。
         *
         * @param <E>
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 53.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

      private val readyAsyncCalls = ArrayDeque<AsyncCall>()
    
      /** Running asynchronous calls. Includes canceled calls that haven't finished yet. */
      private val runningAsyncCalls = ArrayDeque<AsyncCall>()
    
      /** Running synchronous calls. Includes canceled calls that haven't finished yet. */
      private val runningSyncCalls = ArrayDeque<RealCall>()
    
      constructor(executorService: ExecutorService) : this() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolDeclarationOverridesProvider.kt

            descriptor: CallableMemberDescriptor,
            collectAllOverrides: Boolean
        ): Collection<CallableMemberDescriptor> {
            val overriddenDescriptors = LinkedHashSet<CallableMemberDescriptor>()
            val queue = ArrayDeque<CallableMemberDescriptor>().apply { addAll(descriptor.overriddenDescriptors) }
    
            while (queue.isNotEmpty()) {
                val current = queue.removeFirst()
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 13 16:31:41 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

        val locallyAccessible = mutableSetOf<ComponentIdentifier>()
        val externallyAccessible = mutableSetOf<ComponentIdentifier>()
    
        val seen = mutableSetOf<ResolvedVariantResult>()
        val queue = ArrayDeque<DependencyResult>()
    
        val rootDependencies = rootComponent.getDependenciesForVariant(rootVariant)
        seen.add(rootVariant)
        queue.addAll(rootDependencies)
    
        while (queue.isNotEmpty()) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 28 20:26:58 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  7. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            if (!hasSuperType) return true
    
            fun ArrayDeque<String>.addSuperTypesOf(classNode: ClassNode) {
                classNode.interfaces.forEach { push(it) }
                if (classNode.superName != null) push(classNode.superName)
            }
    
            val superTypeStack = ArrayDeque<String>().apply {
                addSuperTypesOf(delegate)
            }
    
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K 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);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  9. 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);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      private var streams: Streams? = null
    
      /** Outgoing pongs in the order they should be written. */
      private val pongQueue = ArrayDeque<ByteString>()
    
      /** Outgoing messages and close frames in the order they should be written. */
      private val messageAndCloseQueue = ArrayDeque<Any>()
    
      /** The total size in bytes of enqueued but not yet transmitted messages. */
      private var queueSize = 0L
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top