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()
Map
boolean isEmpty()
Map
boolean containsKey(K key)
key
- Map
boolean containsValue(V value)
value
- Map
V put(K key, V value)
key
- value
- Map
V remove(K key)
key
- Map
void clear()
Map
Collection<V> values()
Map
Copyright © 2010–2016 AdroitLogic. All rights reserved.