public static class Storage.PrimitiveIdHash extends java.lang.Object implements Hash<PrimitiveId,PrimitiveId>
PrimitiveId.| Constructor and Description |
|---|
PrimitiveIdHash() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(PrimitiveId key,
PrimitiveId 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.
|
public PrimitiveIdHash()
public int getHashCode(PrimitiveId k)
HashgetHashCode in interface Hash<PrimitiveId,PrimitiveId>k - the object to compute hashcode forpublic boolean equals(PrimitiveId key, PrimitiveId value)
HashStorage.equals in interface Hash<PrimitiveId,PrimitiveId>key - the object to comparevalue - the object to compare