public enum Dorm extends Enum<Dorm>
| Enum Constant and Description | 
|---|
| AUSTIN_COLGATE | 
| AVERY | 
| CASPERSEN | 
| COLEMAN | 
| KERR_NORTH | 
| KERR_SOUTH | 
| LIBRARY | 
| MARIBOE | 
| MASTERS_NORTH | 
| MASTERS_SOUTH | 
| MASTERS_THREE | 
| POTTER_NORTH | 
| POTTER_SOUTH | 
| ROBERSON | 
| TRASK | 
| Modifier and Type | Method and Description | 
|---|---|
| double | distanceTo(Dorm o)Calculates the distance between this dorm and another dorm. | 
| LatLng | getLocation() | 
| String | getName() | 
| LocationType | getType() | 
| static Dorm | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Dorm[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Dorm AUSTIN_COLGATE
public static final Dorm AVERY
public static final Dorm CASPERSEN
public static final Dorm COLEMAN
public static final Dorm KERR_NORTH
public static final Dorm KERR_SOUTH
public static final Dorm MARIBOE
public static final Dorm MASTERS_NORTH
public static final Dorm MASTERS_SOUTH
public static final Dorm MASTERS_THREE
public static final Dorm POTTER_NORTH
public static final Dorm POTTER_SOUTH
public static final Dorm ROBERSON
public static final Dorm TRASK
public static final Dorm LIBRARY
public static Dorm[] values()
for (Dorm c : Dorm.values()) System.out.println(c);
public static Dorm 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 double distanceTo(Dorm o)
o - another dorm to compare againstpublic String getName()
public LatLng getLocation()
public LocationType getType()