public final class FlatFilter extends Object
| Constructor and Description |
|---|
FlatFilter() |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.revapi.query.Filter<T> |
by(java.util.function.Function<T,Boolean> filter)
A simple filter that scans only the direct children of some element.
|
public static <T> org.revapi.query.Filter<T> by(java.util.function.Function<T,Boolean> filter)
T - the type of the element to acceptfilter - the function to determine if the filter Filter.applies(Object)Copyright © 2014-2018 Lukas Krejci. All Rights Reserved.