|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
element
to the heap.
EventHeap
interface that executes all
methods it defines in O(N) time.MappingHeap
interface that is only
backed by an array.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
).TimedHeap
object, allowing it
to be used as an intermediate node along a hierarchy of heaps.
_obj
and time
_time
.
TimeAssociation
object with the
time of TimeAssociation
object ta
.
TimeAssociation
is contained in
the list.
element
.
TimeAssociation
in the heap
that is associated with the given element
parameter.
TimeAssociation
in the list
that is associated with the given element
parameter.
GenericHeap
that allows
duplicates.TimeAssociation
object is equal to
arg
.
TimeAssociation
object is equal to
arg
.
EventHeap
interface that executes all
methods it defines in O(lg N) time.GenericHeap
interface that does
not allow duplicates.MappingHeap
interface.Heap
interface that provides methods for
adding, removing, and querying the membership of heap elements.null
if it uses its elements' natural ordering.
null
if it uses its elements' natural ordering.
TimeAssociation
objects
ta1
and ta2
, ta1 < ta2
if and only
if ta1.getTime() > ta2.getTime
.
TimeAssociation
objects
ta1
and ta2
, ta1 < ta2
if and only
if ta1.getTime() < ta2.getTime
.
TimeAssociation
in the heap that is
associated with the given element
parameter.
TimeAssociation
that is associated with
the given element
parameter.
true
if the heap is empty, false
otherwise.
EventHeap
object, allowing it to be presented
as a heap into which timers can be added by virtue of it implementing
interface HeapParent
.TimedHeap
object, allowing it
to be used as a leaf node along a hierarchy of heaps.
Heap
interface that allows for mappings
between keys and values.process
method is never invoked.
TimeAssociation
object from the list
that is equal to parameter obj
.
element
, removes
it, and returns true
.
TimeAssociation
in the heap
that is associated with the given element
parameter.
TimeAssociation
in the list
that is associated with the given element
parameter.
EventHeap
object, allowing it to be presented
as a heap into which timers can be added by virtue of it implementing
interface HeapParent
.TimedHeap
object, allowing it
to be used as a root node along a hierarchy of heaps.
TimeAssociation
in the heap that is associated with the object returned by method
getObject
of the parameter.
GenericHeap
that does not allow
duplicates.TimeAssociation
objects.TimeAssociation
elements.
TimeAssociation
elements.
_obj
and time
_time
.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |