O
- is the generic type of the object to get hash keys
for.public interface HashKeyProvider<O>
provides a hash key
for an object of type
<O>. Modifier and Type | Method and Description |
---|---|
Object |
getHashKey(O object) |
Object getHashKey(O object)
object
- is the object to get the hash key for.object
. The
equals
and hashCode
methods of the
returned object have to satisfy this circumstance. If two objects o1
and
o2
are considered equal then getHashKey(o1).equals(getHashKey(o2))
and
getHashKey(
.Copyright © 2001–2014 mmm-Team. All rights reserved.