public static enum SomGraph.NeighbourhoodMode extends Enum<SomGraph.NeighbourhoodMode>
Modifier and Type | Method and Description |
---|---|
static SomGraph.NeighbourhoodMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SomGraph.NeighbourhoodMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SomGraph.NeighbourhoodMode All
public static final SomGraph.NeighbourhoodMode Diagonal
public static final SomGraph.NeighbourhoodMode Direct
public static SomGraph.NeighbourhoodMode[] values()
for (SomGraph.NeighbourhoodMode c : SomGraph.NeighbourhoodMode.values()) System.out.println(c);
public static SomGraph.NeighbourhoodMode 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 null