Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RepeatedStringValueOfFunction (0.21 sec)

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

        Iterable<String> result = FluentIterable.from(input).transform(new StringValueOfFunction());
    
        assertEquals(asList("1", "2", "null", "3"), Lists.newArrayList(result));
      }
    
      private static final class RepeatedStringValueOfFunction
          implements Function<Integer, List<String>> {
        @Override
        public List<String> apply(Integer from) {
          String value = String.valueOf(from);
          return ImmutableList.of(value, value);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top