- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for toImmutableList (0.05 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
// FIXME There should be no duplicates, yet there are some return upgradedProperties.stream() .distinct() .collect(ImmutableList.toImmutableList()); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } /**Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 24 14:15:15 UTC 2025 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
* ImmutableList}, in encounter order. * * @since 21.0 */ public static <E> Collector<E, ?, ImmutableList<E>> toImmutableList() { return CollectCollectors.toImmutableList(); } /** * Returns the empty immutable list. This list behaves and performs comparably to {@link
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 30.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
* * {@snippet : * @SuppressWarnings("unchecked") // safe because of ::isInstance check * ImmutableList<NewType> result = * (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList()); * } */ @SuppressWarnings("unchecked") @GwtIncompatible // Class.isInstance public static <T> Iterable<T> filter(Iterable<?> unfiltered, Class<T> desiredType) { checkNotNull(unfiltered);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 43.6K bytes - Viewed (0)