deferred class HOARD [E_]
Summary
Overview
Exported features
Counting:
Agent-based features:
count: INTEGER_32
deferred function
Number of available items in the hoard.
is_empty: BOOLEAN
deferred function
Is the hoard empty ?
See also count.
for_each (action: PROCEDURE[TUPLE[TUPLE 1[E_]]])
deferred procedure
Apply action to every item of Current.
do_all (action: ROUTINE[TUPLE[TUPLE 1[E_]]])
frozen
effective procedure
Apply action to every item of Current.
for_all (test: FUNCTION[TUPLE[TUPLE 1[E_]]]): BOOLEAN
deferred function
Do all items satisfy test?
exists (test: FUNCTION[TUPLE[TUPLE 1[E_]]]): BOOLEAN
deferred function
Does at least one item satisfy test?
aggregate (action: FUNCTION[TUPLE[TUPLE 2[E_, E_], E_]], initial: E_): E_
deferred function
Aggregate all the elements starting from the initial value.