T - 范型public class MessageList<T>
extends java.util.ArrayList<T>
| Constructor and Description |
|---|
MessageList(int maxCount) |
MessageList(int maxCount,
java.util.Collection<? extends T> c) |
MessageList(int maxCount,
int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
add(T t) |
boolean |
addAll(java.util.Collection<? extends T> c) |
boolean |
addAll(int index,
java.util.Collection<? extends T> c) |
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, trimToSizepublic MessageList(int maxCount,
int initialCapacity)
public MessageList(int maxCount)
public MessageList(int maxCount,
java.util.Collection<? extends T> c)