|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.data.validation.tests.DuplicateNode.NodeHash
private static class DuplicateNode.NodeHash
Field Summary | |
---|---|
(package private) double |
precision
|
Constructor Summary | |
---|---|
private |
DuplicateNode.NodeHash()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
double precision
Constructor Detail |
---|
private DuplicateNode.NodeHash()
Method Detail |
---|
private LatLon roundCoord(LatLon coor)
private LatLon getLatLon(java.lang.Object o)
public boolean equals(java.lang.Object k, java.lang.Object t)
Hash
Storage
.
equals
in interface Hash<java.lang.Object,java.lang.Object>
k
- the object to comparet
- the object to compare
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |