Modul speiger.src.collections
Klasse AbstractByte2FloatMap.BasicEntry
java.lang.Object
speiger.src.collections.bytes.maps.abstracts.AbstractByte2FloatMap.BasicEntry
- Alle implementierten Schnittstellen:
Map.Entry<Byte,,Float> Byte2FloatMap.Entry
- Bekannte direkte Unterklassen:
Byte2FloatMaps.UnmodifyableEntry
- Umschließende Klasse:
AbstractByte2FloatMap
A Simple Type Specific Entry class to reduce boxing/unboxing
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungA basic Empty constructorBasicEntry(byte key, float value) A Type Specific ConstructorBasicEntry(Byte key, Float value) A Boxed Constructor for supporting java variants -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanbyteType Specific getKey method that reduces boxing/unboxingfloatType Specific getValue method that reduces boxing/unboxinginthashCode()voidset(byte key, float value) A Helper method for fast replacing valuesfloatsetValue(float value) Type Specific setValue method that reduces boxing/unboxingtoString()Von Schnittstelle geerbte Methoden speiger.src.collections.bytes.maps.interfaces.Byte2FloatMap.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(byte key, float value) A Type Specific Constructor- Parameter:
key- the key of a entryvalue- the value of a entry
-
-
Methodendetails
-
set
public void set(byte key, float value) A Helper method for fast replacing values- Parameter:
key- the key that should be replacedvalue- the value that should be replaced
-
getByteKey
public byte getByteKey()Beschreibung aus Schnittstelle kopiert:Byte2FloatMap.EntryType Specific getKey method that reduces boxing/unboxing- Angegeben von:
getByteKeyin SchnittstelleByte2FloatMap.Entry- Gibt zurück:
- the key of a given Entry
-
getFloatValue
public float getFloatValue()Beschreibung aus Schnittstelle kopiert:Byte2FloatMap.EntryType Specific getValue method that reduces boxing/unboxing- Angegeben von:
getFloatValuein SchnittstelleByte2FloatMap.Entry- Gibt zurück:
- the value of a given Entry
-
setValue
public float setValue(float value) Beschreibung aus Schnittstelle kopiert:Byte2FloatMap.EntryType Specific setValue method that reduces boxing/unboxing- Angegeben von:
setValuein SchnittstelleByte2FloatMap.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
-