Modul speiger.src.collections
Klasse ObjectStrategy.NormalStrategy<T>
java.lang.Object
speiger.src.collections.objects.utils.ObjectStrategy.NormalStrategy<T>
- Typparameter:
T- the keyType of elements maintained by this Collection
- Alle implementierten Schnittstellen:
ObjectStrategy<T>
- Umschließende Schnittstelle:
ObjectStrategy<T>
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.objects.utils.ObjectStrategy
ObjectStrategy.IdentityStrategy<T>, ObjectStrategy.NormalStrategy<T> -
Feldübersicht
Von Schnittstelle geerbte Felder speiger.src.collections.objects.utils.ObjectStrategy
IDENTITY, NORMAL -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
NormalStrategy
public NormalStrategy()
-
-
Methodendetails
-
hashCode
Beschreibung aus Schnittstelle kopiert:ObjectStrategyType Specific HashCode function- Angegeben von:
hashCodein SchnittstelleObjectStrategy<T>- Parameter:
o- the element that the hashcode is requested for (if object may be null)- Gibt zurück:
- hashcode for the given entry
-
equals
Beschreibung aus Schnittstelle kopiert:ObjectStrategyType Specific Equals function- Angegeben von:
equalsin SchnittstelleObjectStrategy<T>- 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
-