Modul speiger.src.collections
Klasse AbstractObject2CharMap.BasicEntry<T>
java.lang.Object
speiger.src.collections.objects.maps.abstracts.AbstractObject2CharMap.BasicEntry<T>
- Typparameter:
T- the keyType of elements maintained by this Collection
- Alle implementierten Schnittstellen:
Map.Entry<T,,Character> Object2CharMap.Entry<T>
- Bekannte direkte Unterklassen:
Object2CharMaps.UnmodifyableEntry
- Umschließende Klasse:
AbstractObject2CharMap<T>
public static class AbstractObject2CharMap.BasicEntry<T>
extends Object
implements Object2CharMap.Entry<T>
A Simple Type Specific Entry class to reduce boxing/unboxing
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungA basic Empty constructorBasicEntry(T key, char value) A Type Specific Constructor -
Methodenübersicht
Von Schnittstelle geerbte Methoden speiger.src.collections.objects.maps.interfaces.Object2CharMap.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
-
getCharValue
public char getCharValue()Beschreibung aus Schnittstelle kopiert:Object2CharMap.EntryType Specific getValue method that reduces boxing/unboxing- Angegeben von:
getCharValuein SchnittstelleObject2CharMap.Entry<T>- Gibt zurück:
- the value of a given Entry
-
setValue
public char setValue(char value) Beschreibung aus Schnittstelle kopiert:Object2CharMap.EntryType Specific setValue method that reduces boxing/unboxing- Angegeben von:
setValuein SchnittstelleObject2CharMap.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
-