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