public class StringHashMap extends StringFixedLength implements HashMapInterface<String,String>
frameBody, identifier, logger, size, TYPE_ELEMENT, value
Constructor and Description |
---|
StringHashMap(String identifier,
AbstractTagFrameBody frameBody,
int size)
Creates a new ObjectStringHashMap datatype.
|
StringHashMap(StringHashMap copyObject) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Map<String,String> |
getKeyToValue() |
protected Charset |
getTextEncodingCharSet()
Get the text encoding being used.
|
Map<String,String> |
getValueToKey() |
Iterator<String> |
iterator() |
void |
setValue(Object value)
Set the value held by this datatype, this is used typically used when the
user wants to modify the value in an existing frame.
|
String |
toString()
Return String representation of data type
|
readByteArray, writeByteArray
canBeEncoded, getCorrectDecoder, getSize, setSize
createStructure, getBody, getIdentifier, getValue, readByteArray, setBody
public StringHashMap(String identifier, AbstractTagFrameBody frameBody, int size)
identifier
- frameBody
- size
- IllegalArgumentException
public StringHashMap(StringHashMap copyObject)
public Map<String,String> getKeyToValue()
getKeyToValue
in interface HashMapInterface<String,String>
public Map<String,String> getValueToKey()
getValueToKey
in interface HashMapInterface<String,String>
public void setValue(Object value)
AbstractDataType
setValue
in class AbstractDataType
value
- public boolean equals(Object obj)
equals
in class StringFixedLength
obj
- public Iterator<String> iterator()
iterator
in interface HashMapInterface<String,String>
public String toString()
AbstractString
toString
in class AbstractString
protected Charset getTextEncodingCharSet()
AbstractString
getTextEncodingCharSet
in class StringFixedLength
Copyright © 2005–2020 jthink.net. All rights reserved.