Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for newArrayList (0.06 sec)

  1. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertNextPermutation(newArrayList(3, 4, 2, 1), permutations);
        assertNextPermutation(newArrayList(3, 2, 4, 1), permutations);
        assertNextPermutation(newArrayList(3, 2, 1, 4), permutations);
    
        assertNextPermutation(newArrayList(2, 3, 1, 4), permutations);
        assertNextPermutation(newArrayList(2, 3, 4, 1), permutations);
        assertNextPermutation(newArrayList(2, 4, 3, 1), permutations);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        input.add(1, list3);
    
        assertEquals(asList(1, 2, 3, 4), newArrayList(result));
        assertEquals("[1, 2, 3, 4]", result.toString());
      }
    
      public void testConcatVarargs() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
        List<Integer> list3 = newArrayList(7, 8);
        List<Integer> list4 = newArrayList(9);
        List<Integer> list5 = newArrayList(10);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 45.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        assertNextPermutation(newArrayList(3, 4, 2, 1), permutations);
        assertNextPermutation(newArrayList(3, 2, 4, 1), permutations);
        assertNextPermutation(newArrayList(3, 2, 1, 4), permutations);
    
        assertNextPermutation(newArrayList(2, 3, 1, 4), permutations);
        assertNextPermutation(newArrayList(2, 3, 4, 1), permutations);
        assertNextPermutation(newArrayList(2, 4, 3, 1), permutations);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        List<Integer> list3 = newArrayList(3);
        input.add(1, list3);
    
        assertEquals(asList(1, 2, 3, 4), newArrayList(result));
        assertEquals("[1, 2, 3, 4]", result.toString());
      }
    
      public void testConcatVarargs() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
        List<Integer> list3 = newArrayList(7, 8);
        List<Integer> list4 = newArrayList(9);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        IteratorTester<Integer> tester =
            new IteratorTester<Integer>(
                4, MODIFIABLE, newArrayList(1, 2, 3), IteratorTester.KnownOrder.KNOWN_ORDER) {
              @Override
              protected Iterator<Integer> newTargetIterator() {
                return Lists.newArrayList(1, 2, 3, 4).iterator();
              }
            };
        assertFailure(tester);
      }
    
      public void testCanCatchDifferentContents() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        IteratorTester<Integer> tester =
            new IteratorTester<Integer>(
                4, MODIFIABLE, newArrayList(1, 2, 3), IteratorTester.KnownOrder.KNOWN_ORDER) {
              @Override
              protected Iterator<Integer> newTargetIterator() {
                return Lists.newArrayList(1, 2, 3, 4).iterator();
              }
            };
        assertFailure(tester);
      }
    
      public void testCanCatchDifferentContents() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(Lists.newArrayList("a", "b"), list);
      }
    
      public void testCreation_threeElements() {
        List<String> list = ImmutableList.of("a", "b", "c");
        assertEquals(Lists.newArrayList("a", "b", "c"), list);
      }
    
      public void testCreation_fourElements() {
        List<String> list = ImmutableList.of("a", "b", "c", "d");
        assertEquals(Lists.newArrayList("a", "b", "c", "d"), list);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        List<@Nullable Integer> list2 = Lists.newArrayList(1);
        List<@Nullable Integer> list3 = Lists.newArrayList(1, 1);
        List<@Nullable Integer> list4 = Lists.newArrayList(1, 2);
        List<@Nullable Integer> list5 = Lists.newArrayList(1, null, 2);
        List<@Nullable Integer> list6 = Lists.newArrayList(2);
        List<@Nullable Integer> list7 = Lists.newArrayList(nullInt);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/OrderingTest.java

        List<@Nullable Integer> list2 = Lists.newArrayList(1);
        List<@Nullable Integer> list3 = Lists.newArrayList(1, 1);
        List<@Nullable Integer> list4 = Lists.newArrayList(1, 2);
        List<@Nullable Integer> list5 = Lists.newArrayList(1, null, 2);
        List<@Nullable Integer> list6 = Lists.newArrayList(2);
        List<@Nullable Integer> list7 = Lists.newArrayList(nullInt);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(Lists.newArrayList("a", "b"), list);
      }
    
      public void testCreation_threeElements() {
        List<String> list = ImmutableList.of("a", "b", "c");
        assertEquals(Lists.newArrayList("a", "b", "c"), list);
      }
    
      public void testCreation_fourElements() {
        List<String> list = ImmutableList.of("a", "b", "c", "d");
        assertEquals(Lists.newArrayList("a", "b", "c", "d"), list);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top