T - element type@FunctionalInterface
public interface TreeItemPredicate<T>
FilterableTreeItem to sort
the items in the list.| Modifier and Type | Method and Description |
|---|---|
static <T> TreeItemPredicate<T> |
create(java.util.function.Predicate<T> predicate)
Utility method to create a TreeItemPredicate from a given
Predicate |
boolean |
test(javafx.scene.control.TreeItem<T> parent,
T value)
Evaluates this predicate on the given argument.
|
boolean test(javafx.scene.control.TreeItem<T> parent, T value)
parent - the parent tree item of the element or null if there is no
parentvalue - the value to be testedtrue if the input argument matches the
predicate,otherwise falsestatic <T> TreeItemPredicate<T> create(java.util.function.Predicate<T> predicate)
Predicatepredicate - the predicate