public final class HashCodeFunctionDefault extends AbstractHashCodeFunction<Object> implements Serializable
HashCodeFunction
. It just delegates to Object.hashCode()
.Modifier and Type | Field and Description |
---|---|
private static HashCodeFunctionDefault |
INSTANCE |
private static long |
serialVersionUID |
Constructor and Description |
---|
HashCodeFunctionDefault()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static <V> HashCodeFunction<V> |
getInstance() |
protected int |
hashCodeNotNull(Object value) |
hashCode
private static final long serialVersionUID
private static final HashCodeFunctionDefault INSTANCE
public static <V> HashCodeFunction<V> getInstance()
V
- is the generic type of the result. Typically (and technically) Object
.HashCodeFunctionDefault
.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.