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