Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for asdict (0.06 sec)

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

        assertEquals(HashMultiset.create(asList("a", "b", "a", "c")), multiset);
      }
    
      public void testBuilderAddAll() {
        List<String> a = asList("a", "b");
        List<String> b = asList("c", "d");
        ImmutableMultiset<String> multiset =
            new ImmutableMultiset.Builder<String>().addAll(a).addAll(b).build();
        assertEquals(HashMultiset.create(asList("a", "b", "c", "d")), multiset);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        assertEquals(HashMultiset.create(asList("a", "b", "a", "c")), multiset);
      }
    
      public void testBuilderAddAll() {
        List<String> a = asList("a", "b");
        List<String> b = asList("c", "d");
        ImmutableMultiset<String> multiset =
            new ImmutableMultiset.Builder<String>().addAll(a).addAll(b).build();
        assertEquals(HashMultiset.create(asList("a", "b", "c", "d")), multiset);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(asList("a", "b", "a", "c"), list);
      }
    
      public void testBuilderAddAll_iterable() {
        List<String> a = asList("a", "b");
        List<String> b = asList("c", "d");
        ImmutableList<String> list = new ImmutableList.Builder<String>().addAll(a).addAll(b).build();
        assertEquals(asList("a", "b", "c", "d"), list);
        b.set(0, "f");
        assertEquals(asList("a", "b", "c", "d"), list);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

                (K k, V v) -> {
                  int index = keys().asList().indexOf(k);
                  return values().asList().get(index + 1);
                });
        List<Entry<K, V>> expectedEntries = new ArrayList<>();
        for (Entry<K, V> entry : getSampleEntries()) {
          int index = keys().asList().indexOf(entry.getKey());
          expectedEntries.add(Helpers.mapEntry(entry.getKey(), values().asList().get(index + 1)));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertTrue(set.containsAll(asList("b")));
        assertTrue(set.containsAll(asList("b", "b")));
        assertTrue(set.containsAll(asList("b", "f")));
        assertTrue(set.containsAll(asList("b", "f", "a")));
        assertFalse(set.containsAll(asList("d")));
        assertFalse(set.containsAll(asList("z")));
        assertFalse(set.containsAll(asList("b", "d")));
        assertFalse(set.containsAll(asList("f", "d", "a")));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IteratorsTest.java

      public void testConcatUnmodifiable() {
        new IteratorTester<Integer>(
            5, UNMODIFIABLE, asList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<Integer> newTargetIterator() {
            return Iterators.concat(
                asList(1).iterator(), Arrays.<Integer>asList().iterator(), asList(2).iterator());
          }
        }.test();
      }
    
      public void testConcatPartiallyAdvancedSecond() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(asList("a", "b", "a", "c"), list);
      }
    
      public void testBuilderAddAll_iterable() {
        List<String> a = asList("a", "b");
        List<String> b = asList("c", "d");
        ImmutableList<String> list = new ImmutableList.Builder<String>().addAll(a).addAll(b).build();
        assertEquals(asList("a", "b", "c", "d"), list);
        b.set(0, "f");
        assertEquals(asList("a", "b", "c", "d"), list);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testIsOrdered() {
        assertFalse(numberOrdering.isOrdered(asList(5, 3, 0, 9)));
        assertFalse(numberOrdering.isOrdered(asList(0, 5, 3, 9)));
        assertTrue(numberOrdering.isOrdered(asList(0, 3, 5, 9)));
        assertTrue(numberOrdering.isOrdered(asList(0, 0, 3, 3)));
        assertTrue(numberOrdering.isOrdered(asList(0, 3)));
        assertTrue(numberOrdering.isOrdered(singleton(1)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testIsOrdered() {
        assertFalse(numberOrdering.isOrdered(asList(5, 3, 0, 9)));
        assertFalse(numberOrdering.isOrdered(asList(0, 5, 3, 9)));
        assertTrue(numberOrdering.isOrdered(asList(0, 3, 5, 9)));
        assertTrue(numberOrdering.isOrdered(asList(0, 0, 3, 3)));
        assertTrue(numberOrdering.isOrdered(asList(0, 3)));
        assertTrue(numberOrdering.isOrdered(singleton(1)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        assertEquals(HashMultiset.create(asList("a", "b", "a", "c")), multiset);
      }
    
      public void testBuilderAddAll() {
        List<String> a = asList("a", "b");
        List<String> b = asList("c", "d");
        ImmutableSortedMultiset<String> multiset =
            ImmutableSortedMultiset.<String>naturalOrder().addAll(a).addAll(b).build();
        assertEquals(HashMultiset.create(asList("a", "b", "c", "d")), multiset);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top