public final class HashCodeFunctionSystemIdentity extends AbstractHashCodeFunction<Object> implements Serializable
HashCodeFunction that delegates to System.identityHashCode(Object) and
conforms to EqualsCheckerIsSame.| Modifier and Type | Field and Description |
|---|---|
private static HashCodeFunctionSystemIdentity |
INSTANCE |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
HashCodeFunctionSystemIdentity()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <V> HashCodeFunction<V> |
getInstance() |
protected int |
hashCodeNotNull(Object value) |
hashCodeprivate static final long serialVersionUID
private static final HashCodeFunctionSystemIdentity INSTANCE
public HashCodeFunctionSystemIdentity()
public static <V> HashCodeFunction<V> getInstance()
V - is the generic type of the result. Typically (and technically) Object.HashCodeFunctionSystemIdentity.protected int hashCodeNotNull(Object value)
hashCodeNotNull in class AbstractHashCodeFunction<Object>value - is the object to hash. Will NOT be null.hash code of the given value.AbstractHashCodeFunction.hashCode(Object)Copyright © 2001–2016 mmm-Team. All rights reserved.