public class MessageContentsList extends ArrayList<Object>
| Modifier and Type | Field and Description |
|---|---|
static Object |
REMOVED_MARKER
Indicates that the element of the underlying list is absent.
|
modCount| Constructor and Description |
|---|
MessageContentsList() |
MessageContentsList(List<?> values) |
MessageContentsList(Object... values) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(MessagePartInfo key) |
static MessageContentsList |
getContentsList(Message msg) |
boolean |
hasValue(MessagePartInfo key) |
Object |
put(MessagePartInfo key,
Object value) |
void |
remove(MessagePartInfo key)
Marks corresponding element as removed, indicating absent value,
so subsequent
get(MessagePartInfo) for the same key return null. |
Object |
set(int idx,
Object value) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic static final Object REMOVED_MARKER
#get(MessagePartInfo)}, {@link #remove(MessagePartInfo)}public MessageContentsList()
public MessageContentsList(Object... values)
public MessageContentsList(List<?> values)
public static MessageContentsList getContentsList(Message msg)
public Object put(MessagePartInfo key, Object value)
public boolean hasValue(MessagePartInfo key)
public Object get(MessagePartInfo key)
key - the key whose associated element is to be returned.null if mapped element is marked as removed.public void remove(MessagePartInfo key)
get(MessagePartInfo) for the same key return null.key - the key whose associated element is to be marked as removed.Apache CXF