|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openstreetmap.josm.data.osm.DataSet.IdHash
private static class DataSet.IdHash
| Constructor Summary | |
|---|---|
private |
DataSet.IdHash()
|
| Method Summary | |
|---|---|
boolean |
equals(PrimitiveId key,
OsmPrimitive value)
Compare two instances for semantic or lookup equality. |
int |
getHashCode(PrimitiveId k)
Get hashcode for given instance, based on some inner state of the instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private DataSet.IdHash()
| Method Detail |
|---|
public int getHashCode(PrimitiveId k)
Hash
getHashCode in interface Hash<PrimitiveId,OsmPrimitive>k - the object to compute hashcode for
public boolean equals(PrimitiveId key,
OsmPrimitive value)
HashStorage.
equals in interface Hash<PrimitiveId,OsmPrimitive>key - the object to comparevalue - the object to compare
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||