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