Modul speiger.src.collections
Klasse AbstractObject2ShortMap.BasicEntry<T>
java.lang.Object
speiger.src.collections.objects.maps.abstracts.AbstractObject2ShortMap.BasicEntry<T>
- Typparameter:
T- the keyType of elements maintained by this Collection
- Alle implementierten Schnittstellen:
Map.Entry<T,,Short> Object2ShortMap.Entry<T>
- Bekannte direkte Unterklassen:
Object2ShortMaps.UnmodifyableEntry
- Umschließende Klasse:
AbstractObject2ShortMap<T>
public static class AbstractObject2ShortMap.BasicEntry<T>
extends Object
implements Object2ShortMap.Entry<T>
A Simple Type Specific Entry class to reduce boxing/unboxing
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungA basic Empty constructorBasicEntry(T key, short value) A Type Specific Constructor -
Methodenübersicht
Von Schnittstelle geerbte Methoden speiger.src.collections.objects.maps.interfaces.Object2ShortMap.Entry
getValue, setValue
-
Konstruktordetails
-
BasicEntry
public BasicEntry()A basic Empty constructor -
BasicEntry
A Type Specific Constructor- Parameter:
key- the key of a entryvalue- the value of a entry
-
-
Methodendetails
-
set
A Helper method for fast replacing values- Parameter:
key- the key that should be replacedvalue- the value that should be replaced
-
getKey
-
getShortValue
public short getShortValue()Beschreibung aus Schnittstelle kopiert:Object2ShortMap.EntryType Specific getValue method that reduces boxing/unboxing- Angegeben von:
getShortValuein SchnittstelleObject2ShortMap.Entry<T>- Gibt zurück:
- the value of a given Entry
-
setValue
public short setValue(short value) Beschreibung aus Schnittstelle kopiert:Object2ShortMap.EntryType Specific setValue method that reduces boxing/unboxing- Angegeben von:
setValuein SchnittstelleObject2ShortMap.Entry<T>- 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
-