Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for removeList (0.33 seconds)

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

     * defined as the <i>least</i> element in the queue according to the queue's comparator. But unlike
     * a regular priority queue, the methods {@link #peekLast}, {@link #pollLast} and {@link
     * #removeLast} are also provided, to act on the <i>greatest</i> element in the queue instead.
     *
     * <p>A min-max priority queue can be configured with a maximum size. If so, each time the size of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * defined as the <i>least</i> element in the queue according to the queue's comparator. But unlike
     * a regular priority queue, the methods {@link #peekLast}, {@link #pollLast} and {@link
     * #removeLast} are also provided, to act on the <i>greatest</i> element in the queue instead.
     *
     * <p>A min-max priority queue can be configured with a maximum size. If so, each time the size of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/misc/DisposableUtil.java

        }
    
        /**
         * Disposes of all registered resources.
         */
        public static synchronized void dispose() {
            while (!disposables.isEmpty()) {
                final Disposable disposable = disposables.removeLast();
                try {
                    disposable.dispose();
                } catch (final Throwable t) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

        }
    
      override fun isCanceled() = canceled
    
      override fun plan(): FakePlan {
        // Return deferred plans preferentially. These don't require addPlan().
        if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst() as FakePlan
    
        if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan()
    
        require(nextPlanIndex < plans.size) {
          "not enough plans! call addPlan() or set autoGeneratePlans=true in the test to set this up"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/Graphs.java

        stack.addLast(new NodeAndRemainingSuccessors<>(startNode));
    
        while (!stack.isEmpty()) {
          // To peek at the top two items, we need to temporarily remove one.
          NodeAndRemainingSuccessors<N> top = stack.removeLast();
          NodeAndRemainingSuccessors<N> prev = stack.peekLast();
          stack.addLast(top);
    
          N node = top.node;
          N previousNode = prev == null ? null : prev.node;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/Traverser.java

                 */
                requireNonNull(element);
                if (visited.add(element)) {
                  return element;
                }
              }
              horizon.removeFirst();
              return null;
            }
          };
        }
    
        static <N> Traversal<N> inTree(SuccessorsFunction<N> tree) {
          return new Traversal<N>(tree) {
            @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/Closer.java

       */
      @Override
      public void close() throws IOException {
        Throwable throwable = thrown;
    
        // close closeables in LIFO order
        while (!stack.isEmpty()) {
          Closeable closeable = stack.removeFirst();
          try {
            closeable.close();
          } catch (Throwable e) {
            if (throwable == null) {
              throwable = e;
            } else {
              suppressor.suppress(closeable, throwable, e);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        val pooled1 = planReusePooledConnection()
        if (pooled1 != null) return pooled1
    
        // Attempt a deferred plan before new routes.
        if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst()
    
        // Do blocking calls to plan a route for a new connection.
        val connect = planConnect()
    
        // Now that we have a set of IP addresses, make another attempt at getting a connection from
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Streams.java

        Deque<Spliterator<T>> splits = new ArrayDeque<>();
        splits.addLast(stream.spliterator());
    
        while (!splits.isEmpty()) {
          Spliterator<T> spliterator = splits.removeLast();
    
          if (spliterator.getExactSizeIfKnown() == 0) {
            continue; // drop this split
          }
    
          // Many spliterators will have trySplits that are SUBSIZED even if they are not themselves
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Streams.java

        Deque<Spliterator<T>> splits = new ArrayDeque<>();
        splits.addLast(stream.spliterator());
    
        while (!splits.isEmpty()) {
          Spliterator<T> spliterator = splits.removeLast();
    
          if (spliterator.getExactSizeIfKnown() == 0) {
            continue; // drop this split
          }
    
          // Many spliterators will have trySplits that are SUBSIZED even if they are not themselves
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
Back to Top