Searched refs:retainIfTrue (Results 1 – 5 of 5) sorted by relevance
553 final Iterable<T> unfiltered, final Predicate<? super T> retainIfTrue) {555 checkNotNull(retainIfTrue);559 return Iterators.filter(unfiltered.iterator(), retainIfTrue);567 if (retainIfTrue.test(a)) {575 return CollectSpliterators.filter(unfiltered.spliterator(), retainIfTrue);
629 final Iterator<T> unfiltered, final Predicate<? super T> retainIfTrue) {631 checkNotNull(retainIfTrue);637 if (retainIfTrue.apply(element)) {
586 final Iterable<T> unfiltered, final Predicate<? super T> retainIfTrue) {588 checkNotNull(retainIfTrue);592 return Iterators.filter(unfiltered.iterator(), retainIfTrue);
405 RetainWhenMinimizing retainIfTrue = null; in main() local