public enum Place extends Enum<Place>
| Enum Constant and Description |
|---|
BARBARA_HOME |
CINEMA |
EMOHAWK_ROAM_LOCATION |
NATALY_HOME |
NATALY_WAIT_PLACE |
PARK |
RESTAURANT |
SCEN_LONE_MEETING_POINT |
SPHERE |
THOMAS_HOME |
| Modifier and Type | Method and Description |
|---|---|
Location |
getPlaceLocation() |
double |
getPlaceRadius() |
boolean |
placeReached(Location location) |
boolean |
placeReached(Location location,
double epsilon) |
static Place |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Place[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Place BARBARA_HOME
public static final Place NATALY_HOME
public static final Place NATALY_WAIT_PLACE
public static final Place SCEN_LONE_MEETING_POINT
public static final Place EMOHAWK_ROAM_LOCATION
public static final Place THOMAS_HOME
public static final Place RESTAURANT
public static final Place CINEMA
public static final Place PARK
public static final Place SPHERE
public static Place[] values()
for (Place c : Place.values()) System.out.println(c);
public static Place 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 Location getPlaceLocation()
public double getPlaceRadius()
public boolean placeReached(Location location)
public boolean placeReached(Location location, double epsilon)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.