private static class DuplicateNode.NodeHash extends Object implements Hash<Object,Object>
Modifier and Type | Field and Description |
---|---|
private double |
precision |
Modifier | Constructor and Description |
---|---|
private |
NodeHash() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object k,
Object t)
Compare two instances for semantic or lookup equality.
|
int |
getHashCode(Object k)
Get hashcode for given instance, based on some inner state of the
instance.
|
private LatLon |
getLatLon(Object o) |
private LatLon |
roundCoord(LatLon coor) |
private final double precision
private NodeHash()
private LatLon roundCoord(LatLon coor)
public boolean equals(Object k, Object t)
Hash
Storage
.public int getHashCode(Object k)
Hash
getHashCode
in interface Hash<Object,Object>
k
- the object to compute hashcode for