Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,176 for asdict (0.1 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

      public void testReplaceValuesWithNullValue() {
        List<V> values = asList(v0(), null, v3());
        multimap().replaceValues(k0(), values);
        assertGet(k0(), values);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      public void testReplaceValuesWithNullKey() {
        List<V> values = asList(v0(), v2(), v3());
        multimap().replaceValues(null, values);
        assertGet(null, values);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

            ImmutableListMultimap.<Character, Character>builder()
                .putAll('b', Arrays.asList('a', 'n', 'a', 'n', 'a'))
                .putAll('a', Arrays.asList('p', 'p', 'l', 'e'))
                .putAll('c', Arrays.asList('a', 'r', 'r', 'o', 't'))
                .putAll('a', Arrays.asList('s', 'p', 'a', 'r', 'a', 'g', 'u', 's'))
                .putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y'))
                .build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                if (name.equals("li")) {
                    unwindTo(Arrays.asList("ul", "ol"), visitor);
                } else if (name.equals("dt") || name.endsWith("dd")) {
                    unwindTo(Arrays.asList("dl"), visitor);
                } else if (name.equals("tr")) {
                    unwindTo(Arrays.asList("table", "thead", "tbody"), visitor);
                } else if (name.equals("th") || name.endsWith("td")) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/LegacyComparable.java

      static final LegacyComparable Y = new LegacyComparable("y");
      static final LegacyComparable Z = new LegacyComparable("z");
    
      static final Iterable<LegacyComparable> VALUES_FORWARD = asList(X, Y, Z);
      static final Iterable<LegacyComparable> VALUES_BACKWARD = asList(Z, Y, X);
    
      private final String value;
    
      LegacyComparable(String value) {
        this.value = value;
      }
    
      @Override
      public int compareTo(Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashingTest.java

        new EqualsTester()
            .addEqualityGroup(Hashing.concatenating(asList(Hashing.md5())))
            .addEqualityGroup(Hashing.concatenating(asList(Hashing.murmur3_32())))
            .addEqualityGroup(
                Hashing.concatenating(Hashing.md5(), Hashing.md5()),
                Hashing.concatenating(asList(Hashing.md5(), Hashing.md5())))
            .addEqualityGroup(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        protected List<String> create(String[] elements) {
          return ImmutableList.<String>builder().addAll(asList(elements)).build();
        }
      }
    
      public static class BuilderReversedListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
          List<String> list = asList(elements);
          Collections.reverse(list);
          return ImmutableList.copyOf(list).reverse();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertFalse(entries.remove(Maps.immutableEntry("foo", singletonList(1))));
        assertFalse(entries.contains(Maps.immutableEntry("foo", Sets.newLinkedHashSet(asList(1, 2)))));
        assertFalse(entries.remove(Maps.immutableEntry("foo", Sets.newLinkedHashSet(asList(1, 2)))));
        assertFalse(entries.contains(Maps.immutableEntry("foo", singleton(2))));
        assertFalse(entries.remove(Maps.immutableEntry("foo", singleton(2))));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java

      public void testStreamToArrayUnknownOrder() {
        Helpers.assertEqualIgnoringOrder(getSampleElements(), asList(collection.stream().toArray()));
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testStreamToArrayKnownOrder() {
        assertEquals(getOrderedElements(), asList(collection.stream().toArray()));
      }
    
      public void testStreamCount() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          return ImmutableSet.copyOf(elements).asList();
        }
      }
    
      public static class ImmutableSortedSetAsListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
          Comparator<String> comparator = createExplicitComparator(elements);
          ImmutableSet<String> set = ImmutableSortedSet.copyOf(comparator, asList(elements));
          return set.asList();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheManualTest.java

        assertEquals(ImmutableMap.of(), cache.getAllPresent(asList(1, 2, 3)));
        stats = cache.stats();
        assertEquals(3, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        cache.put(2, 22);
    
        assertEquals(ImmutableMap.of(2, 22), cache.getAllPresent(asList(1, 2, 3)));
        stats = cache.stats();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 5.4K bytes
    - Viewed (0)
Back to top