public class LocationSet extends Object
| Modifier and Type | Field and Description |
|---|---|
private List<Location> |
locations
The locations contained in the location set.
|
private String |
name
The name of the location set.
|
| Constructor and Description |
|---|
LocationSet(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Location e) |
boolean |
equals(Object o)
Location sets with equal names are equal.
|
Location |
get(int index) |
List<Location> |
getLocations() |
String |
getName() |
void |
setLocations(List<Location> locations) |
void |
setName(String name) |
int |
size() |
String |
toString() |
private String name
public LocationSet(String name)