T
- Object type@FunctionalInterface public interface HashCodeProvider<T>
hashCode
provider.Modifier and Type | Method and Description |
---|---|
Optional<Integer> |
hashCode(T object)
Get the hash code of given object.
|
Optional<Integer> hashCode(T object)
The provided hash code should follow the same semantic of Object.hashCode()
.
object
- The object for which to obtain the hash code (may be null)Copyright © 2019 The Holon Platform. All rights reserved.