Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for addLast (0.03 sec)

  1. src/main/java/org/codelibs/core/collection/SLinkedList.java

            header.previous = header;
            for (int i = 0; i < size; i++) {
                addLast((E) s.readObject());
            }
        }
    
        @Override
        public Object clone() {
            final SLinkedList<E> copy = new SLinkedList<>();
            for (Entry e = header.next; e != header; e = e.next) {
                copy.addLast(e.element);
            }
            return copy;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K 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. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

        suite.addTest(testsForCheckedNavigableSet());
        suite.addTest(testsForEmptySet());
        suite.addTest(testsForEmptyNavigableSet());
        suite.addTest(testsForEmptySortedSet());
        suite.addTest(testsForSingletonSet());
        suite.addTest(testsForHashSet());
        suite.addTest(testsForLinkedHashSet());
        suite.addTest(testsForEnumSet());
        suite.addTest(testsForSynchronizedNavigableSet());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 19.8K 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/FeatureSpecificTestSuiteBuilder.java

          TestSuite testerSuite =
              makeSuiteForTesterClass((Class<? extends AbstractTester<?>>) testerClass);
          if (testerSuite.countTestCases() > 0) {
            suite.addTest(testerSuite);
          }
        }
        return suite;
      }
    
      /** Throw {@link IllegalStateException} if {@link #createTestSuite()} can't be called yet. */
      protected void checkCanCreate() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K 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