T
- is the templated type of the delegate-object
.public final class HashKey<T> extends AbstractHashKey<T>
object
as hash-key
. It only matches
the exact same instance regardless of the
Object.equals(Object)
method of the delegate-object
. Additionally it sill matches even
if the delegate-object
has been modified and therefore changed its hash-code
.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Modifier | Constructor and Description |
---|---|
protected |
HashKey()
The constructor for de-serialization in GWT.
|
|
HashKey(T object)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected EqualsChecker<T> |
getEqualsChecker() |
protected HashCodeFunction<T> |
getHashCodeFunction() |
equals, getDelegate, hashCode, toString
private static final long serialVersionUID
protected HashKey()
public HashKey(T object)
object
- is the delegate object
.protected HashCodeFunction<T> getHashCodeFunction()
getHashCodeFunction
in class AbstractHashKey<T>
HashCodeFunction
to use by AbstractHashKey.hashCode()
.protected EqualsChecker<T> getEqualsChecker()
getEqualsChecker
in class AbstractHashKey<T>
EqualsChecker
to use by AbstractHashKey.equals(Object)
.Copyright © 2001–2016 mmm-Team. All rights reserved.