Package heaps.event.hierarchy

Interface Summary
HeapChild An interface for any timer that can be part of a heap.
HeapParent<E extends HeapChild> An interface for any heap that can contain timers as its children.
 

Class Summary
BetweenHeap<T extends HeapChild> A wrapper for a EventHeap object, allowing it to be presented as both a timer (by implementing interface HeapChild, enabling it to be added into other heaps), and a heap into which timers can be added (by implementing interface HeapParent).
LeafHeap<T> A wrapper for a EventHeap object, allowing it to be presented as a heap into which timers can be added by virtue of it implementing interface HeapParent.
RootHeap<T extends HeapChild> A wrapper for a EventHeap object, allowing it to be presented as a heap into which timers can be added by virtue of it implementing interface HeapParent.