|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjp.develop.common.util.amf.encoder.DictionaryEncoder
public class DictionaryEncoder
Implementation of IEncoder.IDictionaryEncoder for Map.
IEncoder,
IEncoder.IDictionaryEncoder| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface jp.develop.common.util.amf.encoder.IEncoder |
|---|
IEncoder.IArrayEncoder<T>, IEncoder.IDictionaryEncoder<T>, IEncoder.IObjectEncoder<T> |
| Constructor Summary | |
|---|---|
DictionaryEncoder()
|
|
| Method Summary | |
|---|---|
void |
encode(AmfEncoder encoder,
Map<Object,Object> map)
Encode to Action Message Format(AMF). |
int |
getDictionarySize(Map<Object,Object> map)
Get the size of dictionary. |
Set<Map.Entry<Object,Object>> |
getEntrySet(Map<Object,Object> map)
Get Entry Set. |
boolean |
isWeakKey(Map<Object,Object> map)
Is this weak key? |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DictionaryEncoder()
| Method Detail |
|---|
public void encode(AmfEncoder encoder,
Map<Object,Object> map)
throws IOException
encode in interface IEncoder<Map<Object,Object>>encoder - AMF encoder.map - Object to be encoded.
IOException - I/O Exception.public int getDictionarySize(Map<Object,Object> map)
getDictionarySize in interface IEncoder.IDictionaryEncoder<Map<Object,Object>>map - Dictionary to be encoded.
public boolean isWeakKey(Map<Object,Object> map)
isWeakKey in interface IEncoder.IDictionaryEncoder<Map<Object,Object>>map - Dictionary to be encoded.
public Set<Map.Entry<Object,Object>> getEntrySet(Map<Object,Object> map)
getEntrySet in interface IEncoder.IDictionaryEncoder<Map<Object,Object>>map - Dictionary to be encoded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||