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