public static interface TreeTraverser.InclusionPolicy<T extends Item>
Modifier and Type | Field and Description |
---|---|
static TreeTraverser.InclusionPolicy<Item> |
ALL
This inclusions policy includes all items.
|
static TreeTraverser.InclusionPolicy<Node> |
LEAVES
This inclusion policy includes leave nodes only.
|
Modifier and Type | Method and Description |
---|---|
boolean |
include(T item)
Call back method to determine whether to include a given item.
|
static final TreeTraverser.InclusionPolicy<Item> ALL
static final TreeTraverser.InclusionPolicy<Node> LEAVES
boolean include(T item)
item
- The item under considerationtrue
when item
should be included.
false
otherwise.Copyright © 2010 - 2020 Adobe. All Rights Reserved