jp.develop.common.util.amf.encoder
Interface IEncoder.IDictionaryEncoder<T>

All Known Implementing Classes:
DictionaryEncoder
Enclosing interface:
IEncoder<T>

public static interface IEncoder.IDictionaryEncoder<T>

AMF encoder interface for dictionary.


Method Summary
 int getDictionarySize(T dictionary)
          Get the size of dictionary.
 Set<Map.Entry<Object,Object>> getEntrySet(T dictionary)
          Get Entry Set.
 boolean isWeakKey(T dictionary)
          Is this weak key?
 

Method Detail

getDictionarySize

int getDictionarySize(T dictionary)
Get the size of dictionary.

Parameters:
dictionary - Dictionary to be encoded.
Returns:
The size of dictionary.

isWeakKey

boolean isWeakKey(T dictionary)
Is this weak key?

Parameters:
dictionary - Dictionary to be encoded.
Returns:
true, if it is weak key.

getEntrySet

Set<Map.Entry<Object,Object>> getEntrySet(T dictionary)
Get Entry Set.

Parameters:
dictionary - Dictionary to be encoded.
Returns:
Entry set of specified dictionary.