Modul speiger.src.collections
Klasse IntStrategy.NormalStrategy
java.lang.Object
speiger.src.collections.ints.utils.IntStrategy.NormalStrategy
- Alle implementierten Schnittstellen:
IntStrategy
- Umschließende Schnittstelle:
IntStrategy
A Strategy that simulates the normal Hash Collection Behavior if you want to use Hash Control Collections to replace normal ones.
Only real reason to do that is you have to use this and want to get rid of implementations.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.ints.utils.IntStrategy
IntStrategy.NormalStrategy -
Feldübersicht
Von Schnittstelle geerbte Felder speiger.src.collections.ints.utils.IntStrategy
NORMAL -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
NormalStrategy
public NormalStrategy()
-
-
Methodendetails
-
hashCode
public int hashCode(int o) Beschreibung aus Schnittstelle kopiert:IntStrategyType Specific HashCode function- Angegeben von:
hashCodein SchnittstelleIntStrategy- Parameter:
o- the element that the hashcode is requested for (if object may be null)- Gibt zurück:
- hashcode for the given entry
-
equals
public boolean equals(int key, int value) Beschreibung aus Schnittstelle kopiert:IntStrategyType Specific Equals function- Angegeben von:
equalsin SchnittstelleIntStrategy- Parameter:
key- the first element that should be compared withvalue- the second element that should be compared with (if object may be null)- Gibt zurück:
- if the elements match
-