Modul speiger.src.collections
Klasse AbstractFloat2CharMap.BasicEntry
java.lang.Object
speiger.src.collections.floats.maps.abstracts.AbstractFloat2CharMap.BasicEntry
- Alle implementierten Schnittstellen:
Map.Entry<Float,,Character> Float2CharMap.Entry
- Bekannte direkte Unterklassen:
Float2CharMaps.UnmodifyableEntry
- Umschließende Klasse:
AbstractFloat2CharMap
A Simple Type Specific Entry class to reduce boxing/unboxing
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungA basic Empty constructorBasicEntry(float key, char value) A Type Specific ConstructorBasicEntry(Float key, Character value) A Boxed Constructor for supporting java variants -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleancharType Specific getValue method that reduces boxing/unboxingfloatType Specific getKey method that reduces boxing/unboxinginthashCode()voidset(float key, char value) A Helper method for fast replacing valuescharsetValue(char value) Type Specific setValue method that reduces boxing/unboxingtoString()Von Schnittstelle geerbte Methoden speiger.src.collections.floats.maps.interfaces.Float2CharMap.Entry
getKey, getValue, setValue
-
Konstruktordetails
-
BasicEntry
public BasicEntry()A basic Empty constructor -
BasicEntry
A Boxed Constructor for supporting java variants- Parameter:
key- the key of a entryvalue- the value of a entry
-
BasicEntry
public BasicEntry(float key, char value) A Type Specific Constructor- Parameter:
key- the key of a entryvalue- the value of a entry
-
-
Methodendetails
-
set
public void set(float key, char value) A Helper method for fast replacing values- Parameter:
key- the key that should be replacedvalue- the value that should be replaced
-
getFloatKey
public float getFloatKey()Beschreibung aus Schnittstelle kopiert:Float2CharMap.EntryType Specific getKey method that reduces boxing/unboxing- Angegeben von:
getFloatKeyin SchnittstelleFloat2CharMap.Entry- Gibt zurück:
- the key of a given Entry
-
getCharValue
public char getCharValue()Beschreibung aus Schnittstelle kopiert:Float2CharMap.EntryType Specific getValue method that reduces boxing/unboxing- Angegeben von:
getCharValuein SchnittstelleFloat2CharMap.Entry- Gibt zurück:
- the value of a given Entry
-
setValue
public char setValue(char value) Beschreibung aus Schnittstelle kopiert:Float2CharMap.EntryType Specific setValue method that reduces boxing/unboxing- Angegeben von:
setValuein SchnittstelleFloat2CharMap.Entry- Parameter:
value- the new Value that should be placed in the given entry- Gibt zurück:
- the old value of a given entry
-
equals
-
hashCode
public int hashCode() -
toString
-