T - the hashed element's typepublic interface Hasher<T>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Hasher.IdentityHashCode<T>
Type interface to indicate that the implementation uses
System.identityHashCode(Object). |
static interface |
Hasher.ImmutableHashCode<T>
Type interface to indicate that the implementing
Hasher implementation will always return
the same hash value for the same object. |
static interface |
Hasher.ValueHashCode<T>
Type interface to indicate that the implementation uses
Object.hashCode() (that actually only makes
sense for proper value types, not for entity types). |
| Modifier and Type | Method and Description |
|---|---|
int |
hash(T object) |
int hash(T object)
Copyright © 2022 MicroStream Software. All rights reserved.