Modifier and Type | Method and Description |
---|---|
static <E> Predicate<OpenNode<? extends E,?>> |
create(Comparator<E> comparator,
E value)
Create matcher using comparator.
|
static <E extends Comparable<E>> |
create(E value)
Create matcher using comparable.
|
boolean |
test(OpenNode<? extends E,?> openNode) |
public static <E> Predicate<OpenNode<? extends E,?>> create(Comparator<E> comparator, E value)
E
- The value to compare againstcomparator
- The comparatorvalue
- The valuepublic static <E extends Comparable<E>> Predicate<OpenNode<? extends E,?>> create(E value)
E
- The value to compare againstvalue
- The valueCopyright © 2014–2016. All rights reserved.