public class MessageHistory
extends java.lang.Object
implements java.util.List<java.util.Properties>, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MessageHistory.Entry
Inner class for each Entry in the history.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HEADER_NAME |
static java.lang.String |
NAME_PROPERTY |
static java.lang.String |
TIMESTAMP_PROPERTY |
static java.lang.String |
TYPE_PROPERTY |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
java.util.Properties element) |
boolean |
add(java.util.Properties e) |
boolean |
addAll(java.util.Collection<? extends java.util.Properties> c) |
boolean |
addAll(int index,
java.util.Collection<? extends java.util.Properties> c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
java.util.Properties |
get(int index) |
int |
indexOf(java.lang.Object o) |
boolean |
isEmpty() |
java.util.Iterator<java.util.Properties> |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<java.util.Properties> |
listIterator() |
java.util.ListIterator<java.util.Properties> |
listIterator(int index) |
static MessageHistory |
read(Message<?> message) |
java.util.Properties |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
java.util.Properties |
set(int index,
java.util.Properties element) |
int |
size() |
java.util.List<java.util.Properties> |
subList(int fromIndex,
int toIndex) |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
java.lang.String |
toString() |
static <T> Message<T> |
write(Message<T> message,
NamedComponent component) |
public static final java.lang.String HEADER_NAME
public static final java.lang.String NAME_PROPERTY
public static final java.lang.String TYPE_PROPERTY
public static final java.lang.String TIMESTAMP_PROPERTY
public static MessageHistory read(Message<?> message)
public static <T> Message<T> write(Message<T> message, NamedComponent component)
public int size()
size
in interface java.util.Collection<java.util.Properties>
size
in interface java.util.List<java.util.Properties>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<java.util.Properties>
isEmpty
in interface java.util.List<java.util.Properties>
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection<java.util.Properties>
contains
in interface java.util.List<java.util.Properties>
public boolean containsAll(java.util.Collection<?> c)
containsAll
in interface java.util.Collection<java.util.Properties>
containsAll
in interface java.util.List<java.util.Properties>
public java.util.Properties get(int index)
get
in interface java.util.List<java.util.Properties>
public java.util.Iterator<java.util.Properties> iterator()
iterator
in interface java.lang.Iterable<java.util.Properties>
iterator
in interface java.util.Collection<java.util.Properties>
iterator
in interface java.util.List<java.util.Properties>
public java.util.ListIterator<java.util.Properties> listIterator()
listIterator
in interface java.util.List<java.util.Properties>
public java.util.ListIterator<java.util.Properties> listIterator(int index)
listIterator
in interface java.util.List<java.util.Properties>
public java.util.List<java.util.Properties> subList(int fromIndex, int toIndex)
subList
in interface java.util.List<java.util.Properties>
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<java.util.Properties>
toArray
in interface java.util.List<java.util.Properties>
public <T> T[] toArray(T[] a)
toArray
in interface java.util.Collection<java.util.Properties>
toArray
in interface java.util.List<java.util.Properties>
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<java.util.Properties>
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<java.util.Properties>
public java.lang.String toString()
toString
in class java.lang.Object
public boolean add(java.util.Properties e)
add
in interface java.util.Collection<java.util.Properties>
add
in interface java.util.List<java.util.Properties>
public void add(int index, java.util.Properties element)
add
in interface java.util.List<java.util.Properties>
public boolean addAll(java.util.Collection<? extends java.util.Properties> c)
addAll
in interface java.util.Collection<java.util.Properties>
addAll
in interface java.util.List<java.util.Properties>
public boolean addAll(int index, java.util.Collection<? extends java.util.Properties> c)
addAll
in interface java.util.List<java.util.Properties>
public java.util.Properties set(int index, java.util.Properties element)
set
in interface java.util.List<java.util.Properties>
public java.util.Properties remove(int index)
remove
in interface java.util.List<java.util.Properties>
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<java.util.Properties>
remove
in interface java.util.List<java.util.Properties>
public boolean removeAll(java.util.Collection<?> c)
removeAll
in interface java.util.Collection<java.util.Properties>
removeAll
in interface java.util.List<java.util.Properties>
public boolean retainAll(java.util.Collection<?> c)
retainAll
in interface java.util.Collection<java.util.Properties>
retainAll
in interface java.util.List<java.util.Properties>
public void clear()
clear
in interface java.util.Collection<java.util.Properties>
clear
in interface java.util.List<java.util.Properties>