public class PointOfInterest extends Object
PS1 instructions: do NOT change this class.
| Constructor and Description |
|---|
PointOfInterest(Angle latitude,
Angle longitude,
String name,
String description)
Make a new point of interest (POI).
|
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
equals(Object obj) |
int |
hashCode() |
Angle |
latitude() |
Angle |
longitude() |
String |
name() |
String |
toString() |
public Angle latitude()
public Angle longitude()
public String name()
public String description()