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
forEach, iterator, spliterator
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) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html