| Did you know ... | Search Documentation: |
| Get methods |
<->offset.
The copy also is of the same class as the original, which implies that
the
vector->initialise
method of this subclass must accept the same arguments as class vector.
@arg1 The current element @arg2 Index of the element
Using from and to, the range and order can
be defined. See
vector->for_all
for details. For example, to find the last element satisfying code,
use:
find_last(Vector, Code, Element) :<-
get(Vector, high_index, End),
get(Vector, low_index, Start),
get(Vector, find, Code, End, Start, Element).
<-index <-rindex
@arg1 The current element @arg2 The index
Using from and to, the range and order can
be defined. See
vector->for_all
for details.
<-element
succeeds. This is vector<-offset
+
vector<-size.
<-low_index<-low_index,
returning the first index that holds the argument object.
See also chain->member
and vector<-rindex.
<-find <-rindex<-element
succeeds. This is vector<-offset
+ 1.
<-high_index<-high_index
working downwards and return the highest index that contains the
argument object. See also vector<-index.
<-find <-index