|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<KSlimNode.Side>
de.cau.cs.kieler.klodd.hierarchical.structures.slimgraph.KSlimNode.Side
public static enum KSlimNode.Side
Definition of sides of a node. The order of side definitions ensures that the default enumeration comparator implementation respects the node sides found in clockwise order.
Enum Constant Summary | |
---|---|
EAST
east side. |
|
NORTH
north side. |
|
SOUTH
south side. |
|
UNDEFINED
the side is undefined. |
|
WEST
west side. |
Method Summary | |
---|---|
KSlimNode.Side |
left()
Returns the next side in counter-clockwise order. |
KSlimNode.Side |
opposed()
Returns the opposed side. |
KSlimNode.Side |
right()
Returns the next side in clockwise order. |
static KSlimNode.Side |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static KSlimNode.Side[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final KSlimNode.Side UNDEFINED
public static final KSlimNode.Side NORTH
public static final KSlimNode.Side EAST
public static final KSlimNode.Side SOUTH
public static final KSlimNode.Side WEST
Method Detail |
---|
public static KSlimNode.Side[] values()
for (KSlimNode.Side c : KSlimNode.Side.values()) System.out.println(c);
public static KSlimNode.Side valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic KSlimNode.Side right()
public KSlimNode.Side left()
public KSlimNode.Side opposed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |