Handbook
Glossary
heap-empty? ( heap -- ? )
Factor handbook
»
The language
»
Collections
»
Heaps
Prev:
<max-heap> ( -- max-heap )
Next:
heap-size ( heap -- n )
Vocabulary
heaps
Inputs
heap
a
heap
Outputs
?
a
boolean
Word description
Tests if a heap has no nodes.
Definition
IN:
heaps
GENERIC:
heap-empty?
( heap -- ? )
Methods
USING:
accessors
heaps
heaps.private
sequences
;
M:
heap
heap-empty?
data>>
empty?
;
inline