Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for makeEmptyMap (0.07 sec)

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

      }
    
      public void testEqualsForEmptyMap() {
        Map<K, V> map;
        try {
          map = makeEmptyMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
    
        // Explicitly call `equals`; `assertEquals` might return fast
        assertTrue(map.equals(map));
        assertTrue(makeEmptyMap().equals(map));
        assertEquals(emptyMap(), map);
        assertFalse(map.equals(emptySet()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

      }
    
      public void testEqualsForEmptyMap() {
        Map<K, V> map;
        try {
          map = makeEmptyMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
    
        // Explicitly call `equals`; `assertEquals` might return fast
        assertTrue(map.equals(map));
        assertTrue(makeEmptyMap().equals(map));
        assertEquals(emptyMap(), map);
        assertFalse(map.equals(emptySet()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
    
        abstract Table<Character, String, Integer> makeTable();
    
        @Override
        protected Map<String, Integer> makeEmptyMap() {
          return makeTable().row('a');
        }
    
        @Override
        protected Map<String, Integer> makePopulatedMap() {
          Table<Character, String, Integer> table = makeTable();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
    
        abstract Table<Character, String, Integer> makeTable();
    
        @Override
        protected Map<String, Integer> makeEmptyMap() {
          return makeTable().row('a');
        }
    
        @Override
        protected Map<String, Integer> makePopulatedMap() {
          Table<Character, String, Integer> table = makeTable();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

            @Override
            public boolean retainAll(Collection<?> c) {
              return delegate.entrySet().retainAll(c);
            }
          };
        }
      }
    
      @Override
      protected Map<String, String> makeEmptyMap() {
        Map<String, Integer> underlying = Maps.newHashMap();
        return transformValues(
            new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction());
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top