Modul speiger.src.collections
Schnittstelle Int2LongMap.Entry
- Alle bekannten Implementierungsklassen:
AbstractInt2LongMap.BasicEntry,Int2LongMaps.UnmodifyableEntry
- Umschließende Schnittstelle:
Int2LongMap
Type Specific Map Entry that reduces boxing/unboxing
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintType Specific getKey method that reduces boxing/unboxingdefault IntegergetKey()longType Specific getValue method that reduces boxing/unboxingdefault LonggetValue()longsetValue(long value) Type Specific setValue method that reduces boxing/unboxingdefault Long
-
Methodendetails
-
getIntKey
int getIntKey()Type Specific getKey method that reduces boxing/unboxing- Gibt zurück:
- the key of a given Entry
-
getKey
-
getLongValue
long getLongValue()Type Specific getValue method that reduces boxing/unboxing- Gibt zurück:
- the value of a given Entry
-
setValue
long setValue(long value) Type Specific setValue method that reduces boxing/unboxing- Parameter:
value- the new Value that should be placed in the given entry- Gibt zurück:
- the old value of a given entry
- Löst aus:
UnsupportedOperationException- if the Entry is immutable or not supported
-
getValue
-
setValue
-