public enum Evaluation extends java.lang.Enum<Evaluation>
Enum Constant and Description |
---|
EXCLUDE_AND_CONTINUE |
EXCLUDE_AND_PRUNE |
INCLUDE_AND_CONTINUE |
INCLUDE_AND_PRUNE |
Modifier and Type | Field and Description |
---|---|
static PathEvaluator |
ALL |
Modifier and Type | Method and Description |
---|---|
static PathEvaluator |
atDepth(int depth)
将结果路径长度等于depth的包含在结果内
|
boolean |
continues()
是否继续拓展
|
static PathEvaluator |
fromDepth(int depth)
将结果路径长度大于等于depth的包含在结果内
|
boolean |
includes()
最终结果是否包含
|
static PathEvaluator |
includingDepths(int minDepth,
int maxDepth)
将结果路径大于minDepth小于maxDepth的包含在结果内
|
static Evaluation |
of(boolean includes,
boolean continues) |
static Evaluation |
ofContinues(boolean continues) |
static Evaluation |
ofIncludes(boolean includes) |
static PathEvaluator |
toDepth(int depth)
将结果路径长度小于等于depth的包含在结果内
|
static Evaluation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Evaluation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Evaluation INCLUDE_AND_CONTINUE
public static final Evaluation INCLUDE_AND_PRUNE
public static final Evaluation EXCLUDE_AND_CONTINUE
public static final Evaluation EXCLUDE_AND_PRUNE
public static final PathEvaluator ALL
public static Evaluation[] values()
for (Evaluation c : Evaluation.values()) System.out.println(c);
public static Evaluation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean includes()
public boolean continues()
public static Evaluation of(boolean includes, boolean continues)
public static Evaluation ofIncludes(boolean includes)
public static Evaluation ofContinues(boolean continues)
public static PathEvaluator fromDepth(int depth)
public static PathEvaluator toDepth(int depth)
public static PathEvaluator atDepth(int depth)
public static PathEvaluator includingDepths(int minDepth, int maxDepth)