Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestIndex (0.1 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)
  3. android/guava/src/com/google/common/escape/UnicodeEscaper.java

        if (charsSkipped > 0) {
          int endIndex = destIndex + charsSkipped;
          if (dest.length < endIndex) {
            dest = growBuffer(dest, destIndex, endIndex);
          }
          s.getChars(unescapedChunkStart, end, dest, destIndex);
          destIndex = endIndex;
        }
        return new String(dest, 0, destIndex);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
Back to top