| Package | Description |
|---|---|
| jlibs.core.graph.filters | |
| jlibs.core.graph.navigators | |
| jlibs.core.graph.sequences | |
| jlibs.core.lang | |
| jlibs.core.util |
| Modifier and Type | Class and Description |
|---|---|
class |
AndFilter<E> |
class |
InstanceFilter<E> |
class |
NotFilter<E> |
class |
OrFilter<E> |
class |
PathFilter<E> |
class |
TrueFilter<E> |
| Constructor and Description |
|---|
AndFilter(Filter<E>... filters) |
NotFilter(Filter<E> delegate) |
OrFilter(Filter<E>... filters) |
PathFilter(Path path,
Filter<Path> delegate) |
| Constructor and Description |
|---|
FilteredNavigator(Navigator<E> navigator,
Filter<E> filter) |
FilteredTreeNavigator(Navigator<E> delegate,
Filter<E> filter) |
| Constructor and Description |
|---|
FilteredSequence(Sequence<? extends E> delegate,
Filter<E> filter) |
FilteredTreeSequence(Sequence<? extends E> seq,
Navigator<E> navigator,
Filter<E> filter) |
| Modifier and Type | Method and Description |
|---|---|
static <T> T[] |
ArrayUtil.filter(T[] array,
Filter<T> filter)
Returns new array which contains only those elements from given
array
which are selected by the filter |
static String |
StringUtil.suggest(Filter<String> filter,
String pattern,
boolean tryEmptyVar)
the pattern specified must have variable part ${i}
example: test${i}.txt
it will find a string using pattern, which is accepted by the specified filter.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
CollectionUtil.filter(Collection<T> c,
Filter<T> filter)
Returns List with elements from given collections which are selected
by specified filter
|
Copyright © 2021. All rights reserved.