Modul speiger.src.collections
Klasse AbstractByte2ObjectMap.BasicEntry<V>
java.lang.Object
speiger.src.collections.bytes.maps.abstracts.AbstractByte2ObjectMap.BasicEntry<V>
- Typparameter:
V- the keyType of elements maintained by this Collection
- Alle implementierten Schnittstellen:
Map.Entry<Byte,,V> Byte2ObjectMap.Entry<V>
- Bekannte direkte Unterklassen:
Byte2ObjectMaps.UnmodifyableEntry
- Umschließende Klasse:
AbstractByte2ObjectMap<V>
public static class AbstractByte2ObjectMap.BasicEntry<V>
extends Object
implements Byte2ObjectMap.Entry<V>
A Simple Type Specific Entry class to reduce boxing/unboxing
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungA basic Empty constructorBasicEntry(byte key, V value) A Type Specific ConstructorBasicEntry(Byte key, V value) A Boxed Constructor for supporting java variants -
Methodenübersicht
Von Schnittstelle geerbte Methoden speiger.src.collections.bytes.maps.interfaces.Byte2ObjectMap.Entry
getKey
-
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
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
-
getByteKey
public byte getByteKey()Beschreibung aus Schnittstelle kopiert:Byte2ObjectMap.EntryType Specific getKey method that reduces boxing/unboxing- Angegeben von:
getByteKeyin SchnittstelleByte2ObjectMap.Entry<V>- Gibt zurück:
- the key of a given Entry
-
getValue
-
setValue
-
equals
-
hashCode
public int hashCode() -
toString
-