Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 138 for addLast (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

            for (Vertex v : children) {
                DfsState state = stateMap.putIfAbsent(v, DfsState.VISITING);
                if (state == null) {
                    cycle.addLast(v.label);
                    List<String> ret = visitCycle(v.children, stateMap, cycle);
                    if (ret != null) {
                        return ret;
                    }
                    cycle.removeLast();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/timer/TimeoutManager.java

            final TimeoutTask task = new TimeoutTask(timeoutTarget, timeout, permanent);
            timeoutTaskList.addLast(task);
            start();
            return task;
        }
    
        /**
         * Returns the number of managed {@link TimeoutTask}.
         *
         * @return the number of managed {@link TimeoutTask}
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Streams.java

            if (state.set) {
              return java.util.Optional.of(state.get());
            }
            // fall back to the last split
            continue;
          }
          splits.addLast(prefix);
          splits.addLast(spliterator);
        }
        return java.util.Optional.empty();
      }
    
      /**
       * Returns the last element of the specified stream, or {@link OptionalInt#empty} if the stream is
       * empty.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

              taskRunner.notifyAll()
            }
          }
    
        if (strategy == ResumePriority.BeforeOtherTasks) {
          serialTaskQueue.addFirst(yieldCompleteTask)
        } else {
          serialTaskQueue.addLast(yieldCompleteTask)
        }
    
        val startedTask = startNextTask()
        val otherTasksStarted = startedTask != yieldCompleteTask
    
        try {
          while (currentTask != self) {
            taskRunner.wait()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Streams.java

            if (state.set) {
              return java.util.Optional.of(state.get());
            }
            // fall back to the last split
            continue;
          }
          splits.addLast(prefix);
          splits.addLast(spliterator);
        }
        return java.util.Optional.empty();
      }
    
      /**
       * Returns the last element of the specified stream, or {@link OptionalInt#empty} if the stream is
       * empty.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 36.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                            lessSpecific = true;
                            break;
    
                        default:
                    }
                }
    
                if (!lessSpecific) {
                    maximals.addLast(app);
                }
            }
    
            if (maximals.size() > 1) {
                // We have more than one maximally specific method
                throw new AmbiguousException();
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    if (phase != null) {
                        Deque<String> phases = getLifecycles(project);
                        if (!Objects.equals(phase, phases.peekLast())) {
                            phases.addLast(phase);
                            if ("clean".equals(phase)) {
                                synchronized (project) {
                                    cleanProjectLocalRepository(project);
                                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:20:38 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/SmbCircuitBreaker.java

                    break;
                }
                currentMax = maxResponseTime.get();
            }
    
            // Add to history for percentile calculation
            responseTimeHistory.addLast(responseTimeMs);
            if (responseTimeHistory.size() > 1000) { // Keep last 1000 measurements
                responseTimeHistory.removeFirst();
            }
    
            // Calculate moving average (simple approach)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @param collection the sequenced collection
         * @param element the element to add
         * @since Java 21
         */
        public static <E> void addLast(final SequencedCollection<E> collection, final E element) {
            collection.addLast(element);
        }
    
        /**
         * Returns a reversed view of a sequenced collection.
         *
         * @param <E> the element type
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        public void addFirst(E e) {
          synchronized (mutex) {
            delegate().addFirst(e);
          }
        }
    
        @Override
        public void addLast(E e) {
          synchronized (mutex) {
            delegate().addLast(e);
          }
        }
    
        @Override
        public boolean offerFirst(E e) {
          synchronized (mutex) {
            return delegate().offerFirst(e);
          }
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
Back to top