public static class AbstractChar2ByteMap.BasicEntry extends java.lang.Object implements Char2ByteMap.Entry
| Constructor and Description |
|---|
BasicEntry()
A basic Empty constructor
|
BasicEntry(java.lang.Character key,
java.lang.Byte value)
A Boxed Constructor for supporting java variants
|
BasicEntry(char key,
byte value)
A Type Specific Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
byte |
getByteValue()
Type Specific getValue method that reduces boxing/unboxing
|
char |
getCharKey()
Type Specific getKey method that reduces boxing/unboxing
|
int |
hashCode() |
void |
set(char key,
byte value)
A Helper method for fast replacing values
|
byte |
setValue(byte value)
Type Specific setValue method that reduces boxing/unboxing
|
java.lang.String |
toString() |
getKey, getValue, setValuepublic BasicEntry()
public BasicEntry(java.lang.Character key,
java.lang.Byte value)
key - the key of a entryvalue - the value of a entrypublic BasicEntry(char key,
byte value)
key - the key of a entryvalue - the value of a entrypublic void set(char key,
byte value)
key - the key that should be replacedvalue - the value that should be replacedpublic char getCharKey()
Char2ByteMap.EntrygetCharKey in interface Char2ByteMap.Entrypublic byte getByteValue()
Char2ByteMap.EntrygetByteValue in interface Char2ByteMap.Entrypublic byte setValue(byte value)
Char2ByteMap.EntrysetValue in interface Char2ByteMap.Entryvalue - the new Value that should be placed in the given entrypublic boolean equals(java.lang.Object obj)
equals in interface java.util.Map.Entry<java.lang.Character,java.lang.Byte>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Map.Entry<java.lang.Character,java.lang.Byte>hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object