public interface LongStrategy
| Modifier and Type | Interface and Description |
|---|---|
static class |
LongStrategy.NormalStrategy
A Strategy that simulates the normal Hash Collection Behavior if you want to use Hash Control Collections to replace normal ones.
|
| Modifier and Type | Field and Description |
|---|---|
static LongStrategy |
NORMAL
Normal Strategy
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(long key,
long value)
Type Specific Equals function
|
int |
hashCode(long o)
Type Specific HashCode function
|
static LongStrategy |
normalStrategy() |
static final LongStrategy NORMAL
static LongStrategy normalStrategy()
int hashCode(long o)
o - the element that the hashcode is requested for (if object may be null)boolean equals(long key,
long value)
key - the first element that should be compared withvalue - the second element that should be compared with (if object may be null)