public interface ShortStrategy
| Modifier and Type | Interface and Description |
|---|---|
static class |
ShortStrategy.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 ShortStrategy |
NORMAL
Normal Strategy
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(short key,
short value)
Type Specific Equals function
|
int |
hashCode(short o)
Type Specific HashCode function
|
static ShortStrategy |
normalStrategy() |
static final ShortStrategy NORMAL
static ShortStrategy normalStrategy()
int hashCode(short o)
o - the element that the hashcode is requested for (if object may be null)boolean equals(short key,
short value)
key - the first element that should be compared withvalue - the second element that should be compared with (if object may be null)