- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for RepeatedStringValueOfFunction (0.19 sec)
-
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)