+
Point of view
All features
class INTEGER_RANGE [E_ -> COMPARABLE]
Summary
Direct parents
Inherit list: TRAVERSABLE
Class invariant
Overview
Creation features
{ANY}
Features
{ANY}
{}
{ANY}
Other features:
{ANY}
Agent-based features:
{ANY}
{ANY}
{}
Agent-based features:
{ANY}
{}
Indexing:
{ANY}
lower: INTEGER_32
writable attribute
{ANY}
Minimum index.
upper: INTEGER_32
writable attribute
{ANY}
Maximum index.
out_in_tagged_out_memory
effective procedure
{ANY}
Append terse printable representation of current object in tagged_out_memory.
count: INTEGER_32
effective function
{ANY}
Number of available items in the hoard.
first: E_
effective function
{ANY}
The very first item.
last: E_
effective function
{ANY}
The last item.
new_iterator: ITERATOR[E_]
effective function
{ANY}
item (i: INTEGER_32): E_
effective function
{ANY}
Item at the corresponding index i.
is_empty: BOOLEAN
is False
constant attribute
{ANY}
Is the hoard empty ?
See also count.
has (i: INTEGER_32): BOOLEAN
effective function
{ANY}
fast_has (i: INTEGER_32): BOOLEAN
effective function
{ANY}
index_of (i: E_, start: INTEGER_32): INTEGER_32
effective function
{ANY}
fast_index_of (i: E_, start: INTEGER_32): INTEGER_32
effective function
{ANY}
reverse_index_of (i: E_, start: INTEGER_32): INTEGER_32
effective function
{ANY}
fast_reverse_index_of (i: E_, start: INTEGER_32): INTEGER_32
effective function
{ANY}
first_index_of (i: E_): INTEGER_32
effective function
{ANY}
fast_first_index_of (i: E_): INTEGER_32
effective function
{ANY}
last_index_of (i: E_): INTEGER_32
effective function
{ANY}
fast_last_index_of (i: E_): INTEGER_32
effective function
{ANY}
make (low: INTEGER_32, up: INTEGER_32, a_itemize: FUNCTION[TUPLE[TUPLE 1[INTEGER_32], E_]], a_indexize: FUNCTION[TUPLE[TUPLE 1[E_], ]])
effective procedure
{ANY}
itemize: FUNCTION[TUPLE[TUPLE 1[INTEGER_32], E_]]
writable attribute
{}
indexize: FUNCTION[TUPLE[TUPLE 1[E_], ]]
writable attribute
{}
enumerate: ENUMERATE[E_]
effective function
{ANY}
get_new_iterator: ITERATOR[E_]
frozen
effective function
{ANY}
for_each (action: PROCEDURE[TUPLE[TUPLE 1[E_]]])
effective procedure
{ANY}
Apply action to every item of Current.
for_all (test: FUNCTION[TUPLE[TUPLE 1[E_]]]): BOOLEAN
effective function
{ANY}
Do all items satisfy test?
exists (test: FUNCTION[TUPLE[TUPLE 1[E_]]]): BOOLEAN
effective function
{ANY}
Does at least one item satisfy test?
aggregate (action: FUNCTION[TUPLE[TUPLE 2[E_, E_], E_]], initial: E_): E_
effective function
{ANY}
Aggregate all the elements starting from the initial value.
generation: INTEGER_32
writable attribute
{ANY}
next_generation
effective procedure
{}
do_all (action: ROUTINE[TUPLE[TUPLE 1[E_]]])
frozen
effective procedure
{ANY}
Apply action to every item of Current.
_inline_agent1 (a: ROUTINE[TUPLE[TUPLE 1[E_]]], e: E_)
frozen
effective procedure
{}
valid_index (i: INTEGER_32): BOOLEAN
effective function
{ANY}
True when i is valid (i.e., inside actual bounds).