public static enum GraphFilter.Legal extends Enum<GraphFilter.Legal>
YES
means that the specified element set will definitely not be removed by GraphFilter
.
MAYBE
means that the element set may or may not be filtered out by the GraphFilter
.
NO
means that the specified element set will definitely be removed by GraphFilter
.Modifier and Type | Method and Description |
---|---|
boolean |
negative()
The enum is
NO . |
boolean |
positive()
|
static GraphFilter.Legal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphFilter.Legal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphFilter.Legal YES
public static final GraphFilter.Legal MAYBE
public static final GraphFilter.Legal NO
public static GraphFilter.Legal[] values()
for (GraphFilter.Legal c : GraphFilter.Legal.values()) System.out.println(c);
public static GraphFilter.Legal valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean positive()
public boolean negative()
NO
.Copyright © 2013–2020 Apache Software Foundation. All rights reserved.