Modul speiger.src.collections
Klasse FloatStrategy.NormalStrategy
java.lang.Object
speiger.src.collections.floats.utils.FloatStrategy.NormalStrategy
- Alle implementierten Schnittstellen:
FloatStrategy
- Umschließende Schnittstelle:
FloatStrategy
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.floats.utils.FloatStrategy
FloatStrategy.NormalStrategy -
Feldübersicht
Von Schnittstelle geerbte Felder speiger.src.collections.floats.utils.FloatStrategy
NORMAL -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
NormalStrategy
public NormalStrategy()
-
-
Methodendetails
-
hashCode
public int hashCode(float o) Beschreibung aus Schnittstelle kopiert:FloatStrategyType Specific HashCode function- Angegeben von:
hashCodein SchnittstelleFloatStrategy- 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(float key, float value) Beschreibung aus Schnittstelle kopiert:FloatStrategyType Specific Equals function- Angegeben von:
equalsin SchnittstelleFloatStrategy- 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
-