+
Point of view
ANY
deferred class COLLECTION2 [E_]
Summary
Overview
exported features
Indexing:
Reading:
Writing:
Index validity:
Counting:
Creating or initializing:
Looking and comparison:
Printing:
Miscellaneous features:
  • test (e1: E_, e2: E_): BOOLEAN
    In order to avoid run-time type errors, feature safe_equal calls is_equal only when e1 and e2 have exactly the same dynamic type.
  • safe_equal (e1: E_, e2: E_): BOOLEAN
    In order to avoid run-time type errors, feature safe_equal calls is_equal only when e1 and e2 have exactly the same dynamic type.
lower1: INTEGER_32
deferred function
Lower index bounds.
lower2: INTEGER_32
deferred function
Lower index bounds.
line_minimum: INTEGER_32
frozen
effective function
Equivalent of lower1.
column_minimum: INTEGER_32
frozen
effective function
Equivalent of lower2.
upper1: INTEGER_32
deferred function
Upper index bounds.
upper2: INTEGER_32
deferred function
Upper index bounds.
line_maximum: INTEGER_32
frozen
effective function
Equivalent of upper1.
column_maximum: INTEGER_32
frozen
effective function
Equivalent of upper2.
item (line: INTEGER_32, column: INTEGER_32): E_
deferred function
put (element: E_, line: INTEGER_32, column: INTEGER_32)
deferred procedure
force (element: E_, line: INTEGER_32, column: INTEGER_32)
deferred procedure
Put element at position (line,column).
valid_line (line: INTEGER_32): BOOLEAN
frozen
effective function
valid_index1 (line: INTEGER_32): BOOLEAN
effective function
valid_column (column: INTEGER_32): BOOLEAN
frozen
effective function
valid_index2 (column: INTEGER_32): BOOLEAN
effective function
valid_index (line: INTEGER_32, column: INTEGER_32): BOOLEAN
frozen
effective function
count1: INTEGER_32
deferred function
Size of the first dimension.
line_count: INTEGER_32
frozen
effective function
Equivalent of count1.
count2: INTEGER_32
deferred function
Size of the second dimension.
column_count: INTEGER_32
frozen
effective function
count: INTEGER_32
deferred function
Total number of elements.
swap (line1: INTEGER_32, column1: INTEGER_32, line2: INTEGER_32, column2: INTEGER_32)
deferred procedure
Swap the element at index (line1,column1) with the the element at index (line2,column2).
set_all_with (v: E_)
deferred procedure
Set all item with value v.
clear_all
frozen
effective procedure
Set all items to default values.
from_collection2 (model: COLLECTION2[E_])
deferred procedure
 Uses model to initialize Current.
from_model (model: COLLECTION[COLLECTION[E_]])
deferred procedure
The model is used to fill line by line Current.
all_default: BOOLEAN
deferred function
Do all items have their type's default value?
is_equal (other: COLLECTION2 [E_]): BOOLEAN
effective function
Do both collections have the same lower1, lower2, upper1 and upper2, and items?
is_equal_map (other: COLLECTION2 [E_]): BOOLEAN
effective function
Do both collections have the same lower1, lower2, upper1 and upper2, and items?
fill_tagged_out_memory
frozen
effective procedure
Append a viewable information in tagged_out_memory in order to affect the behavior of out, tagged_out, etc.
occurrences (elt: E_): INTEGER_32
deferred function
Number of occurrences using is_equal.
fast_occurrences (elt: E_): INTEGER_32
deferred function
Number of occurrences using =.
has (x: E_): BOOLEAN
deferred function
Search if a element x is in the array using is_equal.
fast_has (x: E_): BOOLEAN
deferred function
 Search if a element x is in the array using =.
replace_all (old_value: E_, new_value: E_)
deferred procedure
Replace all occurrences of the element old_value by new_value using is_equal for comparison.
fast_replace_all (old_value: E_, new_value: E_)
deferred procedure
Replace all occurrences of the element old_value by new_value using operator = for comparison.
sub_collection2 (line_min: INTEGER_32, line_max: INTEGER_32, column_min: INTEGER_32, column_max: INTEGER_32): COLLECTION2 [E_]
deferred function
Create a new object using selected area of Current.
set_area (element: E_, line_min: INTEGER_32, line_max: INTEGER_32, column_min: INTEGER_32, column_max: INTEGER_32)
effective procedure
Set all the elements of the selected area rectangle with element.
test (e1: E_, e2: E_): BOOLEAN
effective function
In order to avoid run-time type errors, feature safe_equal calls is_equal only when e1 and e2 have exactly the same dynamic type.
safe_equal (e1: E_, e2: E_): BOOLEAN
effective function
In order to avoid run-time type errors, feature safe_equal calls is_equal only when e1 and e2 have exactly the same dynamic type.