public static enum SubGraph.PartitionMode extends java.lang.Enum<SubGraph.PartitionMode> implements Decorators.Decorator, Decorators.HasLabel
Modifier and Type | Field and Description |
---|---|
private SubGraph.Partition |
function |
private java.lang.String |
label |
Modifier and Type | Method and Description |
---|---|
SubGraph.Partition |
function() |
java.lang.String |
toLabel() |
java.lang.Object |
toValue() |
static SubGraph.PartitionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubGraph.PartitionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubGraph.PartitionMode TARGET
public static final SubGraph.PartitionMode CATEGORY
private final SubGraph.Partition function
private final java.lang.String label
public static SubGraph.PartitionMode[] values()
for (SubGraph.PartitionMode c : SubGraph.PartitionMode.values()) System.out.println(c);
public static SubGraph.PartitionMode 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 SubGraph.Partition function()
public java.lang.String toLabel()
toLabel
in interface Decorators.HasLabel
public java.lang.Object toValue()
toValue
in interface Decorators.Decorator