MCPcopy
hub / github.com/google/guava / filter

Method filter

guava/src/com/google/common/collect/FluentIterable.java:414–416  ·  view source on GitHub ↗

Returns the elements from this fluent iterable that satisfy a predicate. The resulting fluent iterable's iterator does not support {@code remove()}. <p><b>{@code Stream} equivalent:</b> {@link Stream#filter} (same).

(Predicate<? super E> predicate)

Source from the content-addressed store, hash-verified

412 * <p><b>{@code Stream} equivalent:</b> {@link Stream#filter} (same).
413 */
414 public final FluentIterable<E> filter(Predicate<? super E> predicate) {
415 return from(Iterables.filter(getDelegate(), predicate));
416 }
417
418 /**
419 * Returns the elements from this fluent iterable that are instances of class {@code type}.

Callers

nothing calls this directly

Calls 3

fromMethod · 0.95
filterMethod · 0.95
getDelegateMethod · 0.95

Tested by

no test coverage detected