Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for test_builder (0.1 sec)

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

            .expectCollects(
                ImmutableTable.of("one", "uno", 3),
                immutableCell("one", "uno", 1),
                immutableCell("one", "uno", 2));
      }
    
      public void testBuilder() {
        ImmutableTable.Builder<Character, Integer, String> builder = new ImmutableTable.Builder<>();
        assertEquals(ImmutableTable.of(), builder.build());
    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/ImmutableBiMapTest.java

        ImmutableBiMap<String, Integer> map =
            new Builder<String, Integer>().put(immutableEntry("one", 1)).build();
        assertMapEquals(map, "one", 1);
      }
    
      public void testBuilder() {
        ImmutableBiMap<String, Integer> map =
            ImmutableBiMap.<String, Integer>builder()
                .put("one", 1)
                .put("two", 2)
                .put("three", 3)
                .put("four", 4)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      }
    
      public void testSingletonBuilder() {
        ImmutableMap<String, Integer> map = new Builder<String, Integer>().put("one", 1).buildOrThrow();
        assertMapEquals(map, "one", 1);
      }
    
      public void testBuilder() {
        ImmutableMap<String, Integer> map =
            new Builder<String, Integer>()
                .put("one", 1)
                .put("two", 2)
                .put("three", 3)
                .put("four", 4)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      }
    
      public void testSingletonBuilder() {
        ImmutableMap<String, Integer> map = new Builder<String, Integer>().put("one", 1).buildOrThrow();
        assertMapEquals(map, "one", 1);
      }
    
      public void testBuilder() {
        ImmutableMap<String, Integer> map =
            new Builder<String, Integer>()
                .put("one", 1)
                .put("two", 2)
                .put("three", 3)
                .put("four", 4)
    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