Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testBuildKeepingLast_smallTableSameHash (0.19 sec)

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

                .put(2, "two");
        ImmutableMap<Integer, String> map = builder.buildKeepingLast();
        assertMapEquals(map, 1, "one", 2, "two", 70, "seventy");
      }
    
      public void testBuildKeepingLast_smallTableSameHash() {
        String key1 = "QED";
        String key2 = "R&D";
        assertThat(key1.hashCode()).isEqualTo(key2.hashCode());
        ImmutableMap<String, Integer> map =
            ImmutableMap.<String, Integer>builder()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                .put(2, "two");
        ImmutableMap<Integer, String> map = builder.buildKeepingLast();
        assertMapEquals(map, 1, "one", 2, "two", 70, "seventy");
      }
    
      public void testBuildKeepingLast_smallTableSameHash() {
        String key1 = "QED";
        String key2 = "R&D";
        assertThat(key1.hashCode()).isEqualTo(key2.hashCode());
        ImmutableMap<String, Integer> map =
            ImmutableMap.<String, Integer>builder()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
Back to top