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