public static class AbstractBoolean2CharMap.BasicEntry extends java.lang.Object implements Boolean2CharMap.Entry
| Constructor and Description |
|---|
BasicEntry()
A basic Empty constructor
|
BasicEntry(boolean key,
char value)
A Type Specific Constructor
|
BasicEntry(java.lang.Boolean key,
java.lang.Character value)
A Boxed Constructor for supporting java variants
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
getBooleanKey()
Type Specific getKey method that reduces boxing/unboxing
|
char |
getCharValue()
Type Specific getValue method that reduces boxing/unboxing
|
int |
hashCode() |
void |
set(boolean key,
char value)
A Helper method for fast replacing values
|
char |
setValue(char value)
Type Specific setValue method that reduces boxing/unboxing
|
java.lang.String |
toString() |
getKey, getValue, setValuepublic BasicEntry()
public BasicEntry(java.lang.Boolean key,
java.lang.Character value)
key - the key of a entryvalue - the value of a entrypublic BasicEntry(boolean key,
char value)
key - the key of a entryvalue - the value of a entrypublic void set(boolean key,
char value)
key - the key that should be replacedvalue - the value that should be replacedpublic boolean getBooleanKey()
Boolean2CharMap.EntrygetBooleanKey in interface Boolean2CharMap.Entrypublic char getCharValue()
Boolean2CharMap.EntrygetCharValue in interface Boolean2CharMap.Entrypublic char setValue(char value)
Boolean2CharMap.EntrysetValue in interface Boolean2CharMap.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.Boolean,java.lang.Character>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Map.Entry<java.lang.Boolean,java.lang.Character>hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object