public static class LocationHint.Origin extends LocationHint.Enumeration
LocationHint
Constructor and Description |
---|
LocationHint.Origin(String id)
Creates a new origin
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(LocationHint.Origin other)
Compares this origin with another origin.
|
boolean |
equals(Object obj) |
getId, hashCode
public LocationHint.Origin(String id)
id
- the unique id of this originpublic boolean equals(Object obj)
equals
in class LocationHint.Enumeration
public boolean equals(LocationHint.Origin other)
other
- the other origintrue
if they have the same id