public interface MapMessage<K,V>
e.g. JMS Map messages
| Modifier and Type | Method and Description |
|---|---|
Serializable |
asSerializableObject()
Return payload as a Serialable object
|
void |
clear() |
boolean |
containsKey(K key) |
boolean |
containsValue(V value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(K key) |
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(K key) |
int |
size() |
Collection<V> |
values() |
void |
writeTo(OutputStream os)
Serialize the payload into the given OutputStream
|
void writeTo(OutputStream os) throws IOException
os - the OutputStream to serialize the message intoIOException - on failureSerializable asSerializableObject() throws FormatConversionException
FormatConversionException - is not thrownint size()
Mapboolean isEmpty()
Mapboolean containsKey(K key)
key - Mapboolean containsValue(V value)
value - MapV put(K key, V value)
key - value - MapV remove(K key)
key - Mapvoid clear()
MapCollection<V> values()
MapCopyright © 2010–2016 AdroitLogic. All rights reserved.