Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for RepeatedStringValueOfFunction (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
Back to Top