| Modifier and Type | Method and Description |
|---|---|
static <T> Iterable<T> |
filter(Iterable<? extends T> delegate,
Predicate<? super T> predicate) |
static <T> Iterator<T> |
filter(Iterator<? extends T> delegate,
Predicate<? super T> predicate) |
static <T> Iterable<T> |
filter(T[] delegate,
Predicate<? super T> predicate) |
static <T> Iterable<T> |
filterByClass(Iterable<?> delegate,
Class<T> qualifyingClass) |
static <T> Iterator<T> |
filterByClass(Iterator<?> delegate,
Class<T> qualifyingClass) |
static <T> Iterable<T> |
filterByClass(Object[] delegate,
Class<T> qualifyingClass) |
static <T> T[] |
toArray(Iterable<T> delegate,
Class<T> elementType) |
static <T> T[] |
toArray(Iterator<T> delegate,
Class<T> componentType) |
public static <T> Iterable<T> filterByClass(Object[] delegate, Class<T> qualifyingClass)
Iterable that filters the delegate's elements by base classpublic static <T> Iterable<T> filterByClass(Iterable<?> delegate, Class<T> qualifyingClass)
Iterable that filters the delegate's elements by base classpublic static <T> Iterator<T> filterByClass(Iterator<?> delegate, Class<T> qualifyingClass)
Iterator that filters the delegate's products by base classpublic static <T> Iterable<T> filter(T[] delegate, Predicate<? super T> predicate)
Iterable that discriminates the delegate's elements with the predicatepublic static <T> Iterable<T> filter(Iterable<? extends T> delegate, Predicate<? super T> predicate)
Iterable that discriminates the delegate's elements with the predicatepublic static <T> Iterator<T> filter(Iterator<? extends T> delegate, Predicate<? super T> predicate)
Iterator that discriminates the delegate's products with the predicatepublic static <T> T[] toArray(Iterable<T> delegate, Class<T> elementType)
Copyright © 2019. All rights reserved.