- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for removeFirstMatching (0.09 sec)
-
android/guava/src/com/google/common/collect/Iterables.java
list.remove(n); } } /** Removes and returns the first matching element, or returns {@code null} if there is none. */ @CheckForNull static <T extends @Nullable Object> T removeFirstMatching( Iterable<T> removeFrom, Predicate<? super T> predicate) { checkNotNull(predicate); Iterator<T> iterator = removeFrom.iterator(); while (iterator.hasNext()) { T next = iterator.next();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0)