Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testConverter (0.17 sec)

  1. android/guava-tests/test/com/google/common/base/ConverterTest.java

      private static final ImmutableList<String> STRINGS = ImmutableList.of("123", "456");
      private static final ImmutableList<Long> LONGS = ImmutableList.of(123L, 456L);
    
      public void testConverter() {
        assertEquals(LONG_VAL, STR_TO_LONG.convert(STR_VAL));
        assertEquals(STR_VAL, STR_TO_LONG.reverse().convert(LONG_VAL));
    
        Iterable<Long> convertedValues = STR_TO_LONG.convertAll(STRINGS);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top