Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isInstanceOf (0.06 sec)

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

        builder.put('b', 2, "foo");
        builder.put('b', 1, "bar");
        builder.put('a', 2, "baz");
        Table<Character, Integer, String> table = builder.build();
        assertThat(table).isInstanceOf(DenseImmutableTable.class);
        validateReserialization(table);
      }
    
      public void testDenseSerialization_rowOrder() {
        ImmutableTable.Builder<Character, Integer, String> builder = ImmutableTable.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          expected.put(key, -i);
        }
        ImmutableMap<ClassWithTerribleHashCode, Integer> map = builder.buildKeepingLast();
        assertThat(map).containsExactlyEntriesIn(expected).inOrder();
        assertThat(map).isInstanceOf(JdkBackedImmutableMap.class);
      }
    
      @GwtIncompatible // Pattern, Matcher
      public void testBuilder_keepingLast_thenOrThrow() {
        ImmutableMap.Builder<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)
Back to top