T - type of elementspublic class OldestList<T> extends Object implements Iterable<T>
| Constructor and Description |
|---|
OldestList(int nb)
Initialize with the given capacity.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(long date,
T element)
Add an elements with the given timestamp.
|
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorCopyright © 2019. All rights reserved.