Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for K1 (2.81 sec)

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

        assertGet(k3(), v3(), null);
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllNullValueSingle_unsupported() {
        multimap().putAll(k1(), newArrayList((V) null));
        expectUnchanged();
      }
    
      // In principle, it would be nice to apply these two tests to keys with existing values, too.
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        entries[0] = entry(null, entries[0].getValue());
        return entries;
      }
    
      private Entry<K, V>[] getEntriesMultipleNonNullKeys() {
        Entry<K, V>[] entries = createSamplesArray();
        entries[0] = entry(k1(), v0());
        return entries;
      }
    
      private void expectFirstRemoved(Entry<K, V>[] entries) {
        resetMap(entries);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapReplaceAllTester<K, V> extends AbstractMapTester<K, V> {
      private SampleElements<K> keys() {
        return new SampleElements<>(k0(), k1(), k2(), k3(), k4());
      }
    
      private SampleElements<V> values() {
        return new SampleElements<>(v0(), v1(), v2(), v3(), v4());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testReplaceAllRotate() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        return getMap().get(key);
      }
    
      protected final K k0() {
        return e0().getKey();
      }
    
      protected final V v0() {
        return e0().getValue();
      }
    
      protected final K k1() {
        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
      protected final K k2() {
        return e2().getKey();
      }
    
      protected final V v2() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        entries[0] = entry(null, entries[0].getValue());
        return entries;
      }
    
      private Entry<K, V>[] getEntriesMultipleNonNullKeys() {
        Entry<K, V>[] entries = createSamplesArray();
        entries[0] = entry(k1(), v0());
        return entries;
      }
    
      private void expectFirstRemoved(Entry<K, V>[] entries) {
        resetMap(entries);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      }
    
      protected final K k0() {
        return e0().getKey();
      }
    
      protected final V v0() {
        return e0().getValue();
      }
    
      protected final K k1() {
        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
      protected final K k2() {
        return e2().getKey();
      }
    
      protected final V v2() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutNullValue_unsupported() {
        assertThrows(NullPointerException.class, () -> multimap().put(k1(), null));
    
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      public void testPutNullKey() {
        int size = getNumElements();
    
        multimap().put(null, v3());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutNullValue_unsupported() {
        assertThrows(NullPointerException.class, () -> multimap().put(k1(), null));
    
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      public void testPutNullKey() {
        int size = getNumElements();
    
        multimap().put(null, v3());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

        assertGet(k3(), v3(), null);
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllNullValueSingle_unsupported() {
        multimap().putAll(k1(), newArrayList((V) null));
        expectUnchanged();
      }
    
      // In principle, it would be nice to apply these two tests to keys with existing values, too.
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        return getMap().get(key);
      }
    
      protected final K k0() {
        return e0().getKey();
      }
    
      protected final V v0() {
        return e0().getValue();
      }
    
      protected final K k1() {
        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
      protected final K k2() {
        return e2().getKey();
      }
    
      protected final V v2() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top