Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestIndex (0.05 sec)

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

      }
    
      public void testToMap_nullValue() {
        assertThrows(NullPointerException.class, () -> fluent(1, 2, 3).toMap(Functions.constant(null)));
      }
    
      public void testIndex() {
        ImmutableListMultimap<Integer, String> expected =
            ImmutableListMultimap.<Integer, String>builder()
                .putAll(3, "one", "two")
                .put(5, "three")
                .put(4, "four")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        multimap.putAll(Color.RED, asList(2, 7, 1, 8));
        SerializableTester.reserializeAndAssert(multimap);
        assertEquals(INT_COMPARATOR, multimap.valueComparator());
      }
    
      public void testIndex() {
        final Multimap<String, Object> stringToObject =
            new ImmutableMultimap.Builder<String, Object>()
                .put("1", 1)
                .put("1", 1L)
                .put("1", "1")
                .put("2", 2)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top