Class AnimeJHeap
Object
|
+--AnimeJHeap
- class
AnimeJHeap
Heap implementation, it is used to define a shared timer which is responsible
for orchestrating the animation. This class is considered to be private to the library.
Defined in AnimeJ.js
AnimeJHeap
AnimeJHeap()
Count
int Count()
The number of elements contained in the heap.
Insert
void Insert(<AnimeJAnimation> el)
Insert a Task into the heap.
Parameters:
el
- Task to be inserted.
Remove
AnimeJAnimation Remove()
Remove the top element from the heap and returns it. If the heap
is empty null is returned and the heap is left unchanged.
RemoveTask
AnimeJAnimation RemoveTask(<AnimeJAnimation> t)
Remove a specific task from the heap.
Top
AnimeJAnimation Top()
Read the top of the heap. If the heap is empty null is returned.
Documentation generated by
JSDoc on Sat Nov 29 17:50:54 2008