public static class JZtxtcmdExecuter.ListMap
extends java.util.ArrayList<java.lang.Object>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
java.util.Map<java.lang.String,java.lang.Object> |
valueMap |
Constructor and Description |
---|
ListMap() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
add(java.lang.String name,
java.lang.Object data) |
java.lang.Object |
get(java.lang.String name)
The get is additional to the List, it accesses the valueMap with the given name as key.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
private static final long serialVersionUID
public java.util.Map<java.lang.String,java.lang.Object> valueMap
void add(java.lang.String name, java.lang.Object data)
public java.lang.Object get(java.lang.String name)
name
- key for access.If
- the get operation is called on a ListMap which has not a valueMap, an Exception is thrown.
It is a faulty in programming.