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