Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for addLast (0.32 sec)

  1. src/main/java/org/codelibs/core/misc/DisposableUtil.java

         *            A disposable resource. Must not be {@literal null}.
         */
        public static synchronized void add(final Disposable disposable) {
            assertArgumentNotNull("disposable", disposable);
            disposables.addLast(disposable);
        }
    
        /**
         * Registers a disposable resource at the beginning.
         * <p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/Graphs.java

        Deque<NodeAndRemainingSuccessors<N>> stack = new ArrayDeque<>();
        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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/Graphs.java

        Deque<NodeAndRemainingSuccessors<N>> stack = new ArrayDeque<>();
        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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        TestSuite suite = new TestSuite();
    
        // Not testing rowKeySet() or columnKeySet() of Table.transformValues()
        // since the transformation doesn't affect the row and column key sets.
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static class BuiltTests extends TestCase {
        public static Test suite() {
          TestSuite suite = new TestSuite();
    
          suite.addTest(
              NavigableSetTestSuiteBuilder.using(new ContiguousSetGenerator())
                  .named("Range.asSet")
                  .withFeatures(
                      CollectionSize.ANY,
                      KNOWN_ORDER,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        suite.addTest(testsForEmptyList());
        suite.addTest(testsForSingletonList());
        suite.addTest(testsForArraysAsList());
        suite.addTest(testsForArrayList());
        suite.addTest(testsForLinkedList());
        suite.addTest(testsForCopyOnWriteArrayList());
        suite.addTest(testsForUnmodifiableList());
        suite.addTest(testsForCheckedList());
        suite.addTest(testsForAbstractList());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

    public class TreeMultisetTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            SortedMultisetTestSuiteBuilder.using(
                    new TestStringMultisetGenerator() {
                      @Override
                      protected Multiset<String> create(String[] elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top