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