public enum ClosestObstacle extends Enum<ClosestObstacle>
| Modifier and Type | Method and Description |
|---|---|
static ClosestObstacle |
getType(String type) |
static ClosestObstacle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClosestObstacle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClosestObstacle LEFT
public static final ClosestObstacle RIGHT
public static final ClosestObstacle UNKNOWN
public static ClosestObstacle[] values()
for (ClosestObstacle c : ClosestObstacle.values()) System.out.println(c);
public static ClosestObstacle 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 static ClosestObstacle getType(String type)
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.