public final class FilterAdapter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
FilterAdapter.TypedDependencyWrapper
Wraps TypedDependency decorating it with HasId methods
|
Modifier | Constructor and Description |
---|---|
private |
FilterAdapter() |
Modifier and Type | Method and Description |
---|---|
(package private) static <T> java.util.function.Predicate<T> |
filterAdapter(IFilter<T> filter)
Adapt IFilter
|
static java.util.function.Predicate<edu.stanford.nlp.trees.TypedDependency> |
filterTypedDependencyAdapter(IFilter<HasId> filter)
Adapt IFilter[HasId] to Filter[TypedDependency]
|
static <T> java.util.function.Predicate<T> filterAdapter(IFilter<T> filter)
T
- type of object being filteredfilter
- IFilter