public interface IHistory<T> extends INotifier, Iterable<IHistoryElement<T>>
Modifier and Type | Method and Description |
---|---|
boolean |
add(T data) |
boolean |
clear() |
IHistoryElement<T> |
get(int index) |
<D> D[] |
getData(D[] a) |
T |
getMostRecent() |
int |
indexOf(T data) |
boolean |
isEmpty() |
IHistoryElement<T> |
remove(int index) |
int |
size() |
IHistoryElement<T>[] |
toArray() |
addListener, getListeners, hasListeners, removeListener
boolean isEmpty()
int size()
boolean clear()
int indexOf(T data)
boolean add(T data)
IHistoryElement<T> remove(int index)
IHistoryElement<T> get(int index)
T getMostRecent()
<D> D[] getData(D[] a)
IHistoryElement<T>[] toArray()
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.