Inherit/Insert Summary | |
| |
No developed. | |
No developed. |
Constructor Summary | |
is_empty .
| |
capacity initialized
at least to needed_capacity and lower set to low.
|
Slot Summary | |
Creation and Modification: Minimum index. See also upper , valid_index, item .
| |
is_empty .
| |
capacity initialized
at least to needed_capacity and lower set to low.
| |
| |
| |
| |
| |
See also lower , valid_index, item .
| |
| |
| |
| |
| |
|
Modification: | |
lower .. upper ] and
[min_index .. max_index]. New positions if any are
initialized with the appropriate default value.
| |
upper index is translated accordingly.
|
Implementation of deferred: | |
| |
See also count .
| |
See also is_empty , lower , upper .
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
count is increased by
one and all other items are shifted right. | |
count is increased by one. | |
| |
| |
| |
| |
| |
| |
lower index .
Answer lower -1 when the search fail. | |
| |
lower
index . Answer lower -1 when the search fail. | |
lower , upper , and
items?
The basic = is used for comparison of items. | |
lower , upper , and
items?
Feature == is used for comparison of items. | |
lower index of the Result is the same as lower .
| |
first item.See also last , item .
| |
| |
last item.See also first , item .
| |
count is increased
by one and range [index .. upper ] is shifted right
by one position. | |
last item. | |
| |
| |
| |
|
Interfacing with C: | |
storage of the ARRAY.
Result is pointing the element at index lower .NOTE: do not free/realloc the Result. Resizing of the array can makes this pointer invalid. | |
storage of the ARRAY.
Result is pointing the element at index lower .NOTE: do not free/realloc the Result. Resizing of the array can makes this pointer invalid. |
Inherit/Insert Detail |
.../base/collection/array.li line #23
.../base/collection/low_level/arrayed_collection.li line #12
.../base/collection/low_level/arrayed_collection.li line #14
Constructor Detail |
.../base/collection/array.li line #33
is_empty
.
.../base/collection/array.li line #64
capacity
initialized
at least to needed_capacity and lower
set to low.
Detail slot |
.../base/collection/array.li line #27
upper
, valid_index, item
.
.../base/collection/array.li line #44
is_empty
.
lower
is equal to min_index
upper
is equal to max_index
.../base/collection/array.li line #74
capacity
initialized
at least to needed_capacity and lower
set to low.
.../base/collection/array.li line #91
.../base/collection/low_level/arrayed_collection.li line #18
.../base/collection/low_level/arrayed_collection.li line #23
.../base/collection/low_level/arrayed_collection.li line #35
.../base/collection/low_level/arrayed_collection.li line #38
lower
, valid_index, item
.
.../base/collection/low_level/arrayed_collection.li line #151
.../base/collection/low_level/arrayed_collection.li line #167
.../base/collection/low_level/arrayed_collection.li line #172
.../base/collection/low_level/arrayed_collection.li line #177
.../base/collection/low_level/arrayed_collection.li line #200
Modification: |
.../base/collection/array.li line #117
lower
.. upper
] and
[min_index .. max_index]. New positions if any are
initialized with the appropriate default value.
lower
is equal to min_index
upper
is equal to max_index
.../base/collection/array.li line #173
upper
index is translated accordingly.
lower
is equal to new_lower
count
is equal to count
before
Implementation of deferred: |
.../base/collection/array.li line #193
.../base/collection/array.li line #206
count
.
.../base/collection/array.li line #210
is_empty
, lower
, upper
.
.../base/collection/array.li line #214
lower
, upper
, valid_index, put, swap
Item at the corresponding index i.
lower
, upper
, valid_index, put, swap
.../base/collection/array.li line #222
lower
, upper
, valid_index, item
, swap, force.
Make element the item at index i.
lower
, upper
, valid_index, item
, swap, force.
.../base/collection/array.li line #229
lower
, upper
, valid_index, item
, swap, force.
Make element the item at index, enlarging the collection if
necessary (new bounds except index are initialized with
default values).item
, swap.
.../base/collection/array.li line #251
.../base/collection/array.li line #267
.../base/collection/array.li line #273
upper
has same value before and after
Remove the first
element of the collection.remove_last
, remove
, remove_head
.
.../base/collection/array.li line #284
upper
has same value before and after
Remove the n elements of the collection.remove_tail
, remove
, remove_first
.
.../base/collection/array.li line #295
remove_first
, remove_head
, remove_tail
, remove_last
.
.../base/collection/array.li line #303
capacity
has same value before and after
Discard all items in order to make it is_empty
..../base/collection/array.li line #313
count
is increased by
one and all other items are shifted right.add_last
, first
, last
, add.
Add a new item in first position : count
is increased by
one and all other items are shifted right.add_last
, first
, last
, add.
.../base/collection/array.li line #328
count
is increased by one.add_first
, last
, first
, add.
Add a new item at the end : count
is increased by one.add_first
, last
, first
, add.
.../base/collection/array.li line #349
.../base/collection/array.li line #363
.../base/collection/array.li line #368
fast_occurrences
, index_of.
.../base/collection/array.li line #373
occurrences
, index_of.
.../base/collection/array.li line #378
index_of start
, last_index_of,
reverse_index_of..../base/collection/array.li line #388
first_index_of
.
.../base/collection/array.li line #399
lower
index .
Answer lower -1 when the search fail..../base/collection/array.li line #409
.../base/collection/array.li line #420
lower
index . Answer lower -1 when the search fail..../base/collection/array.li line #431
lower
, upper
, and
items?
The basic = is used for comparison of items.is_equal_map
, same_items.
.../base/collection/array.li line #442
lower
, upper
, and
items?
Feature == is used for comparison of items..../base/collection/array.li line #453
lower
index of the Result is the same as lower
.
from_collection
, move, replace_all.
lower
inferior or equal to min
upper
.../base/collection/low_level/arrayed_collection.li line #64
first
item.last
, item
.
.../base/collection/low_level/arrayed_collection.li line #66
.../base/collection/low_level/arrayed_collection.li line #68
last
item.first
, item
.
.../base/collection/low_level/arrayed_collection.li line #70
count
is increased
by one and range [index .. upper
] is shifted right
by one position.add_first
, add_last
, append_collection.
.../base/collection/low_level/arrayed_collection.li line #81
last
item.remove_first
, remove
, remove_tail
.
.../base/collection/low_level/arrayed_collection.li line #86
remove_head
, remove
, remove_last
.
.../base/collection/low_level/arrayed_collection.li line #91
.../base/collection/low_level/arrayed_collection.li line #96
.../base/collection/low_level/arrayed_collection.li line #101
Interfacing with C: |
.../base/collection/low_level/arrayed_collection.li line #117
storage
of the ARRAY.
Result is pointing the element at index lower
..../base/collection/low_level/arrayed_collection.li line #133
storage
of the ARRAY.
Result is pointing the element at index lower
.