public static enum BellmanFord.Mode extends Enum<BellmanFord.Mode>
| Enum Constant and Description |
|---|
DESTINATION |
SOURCE |
| Modifier and Type | Method and Description |
|---|---|
static BellmanFord.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BellmanFord.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BellmanFord.Mode SOURCE
public static final BellmanFord.Mode DESTINATION
public static BellmanFord.Mode[] values()
for (BellmanFord.Mode c : BellmanFord.Mode.values()) System.out.println(c);
public static BellmanFord.Mode 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 nullCopyright © 2012–2017 Emory University. All rights reserved.