class base range
Declaration: base range
Announcements: base range
Direct supertypes: range
All supertypes: deeply_immutable list / collection / composite value / value / entity / equality comparable
Declaration: constructor
Declaration: begin
Direct overrides: begin
Declaration: end
Direct overrides: end
Declaration: size
Direct overrides: size
Declaration: is empty
Direct overrides: is empty
Specifies whether the collection has more than zero elements.
Shortcut for !is_empty.
implement boolean is not empty
Declaration: is not empty
Direct overrides: is not empty
Declaration: first
Direct overrides: first
Use: test range
Declaration: last
Direct overrides: last
Use: test range
Read the list's element for the specified index.
implement implicit readonly reference[nonnegative] get(nonnegative index) pure
Declaration: constructor
Direct overrides: list
Enumerates elements in some collection-defined order.
This method returns a snapshot of the collection state, so subsequent mutations
of the collection do not cause changes in the returned list.
implement range elements()
Declaration: elements
Direct overrides: elements
Use: test range
Declaration: frozen copy
Direct overrides: list
Declaration: skip
Direct overrides: range
Declaration: slice
Direct overrides: range
Returns an immutable list with the order of the elements reversed.
implement immutable list[nonnegative] reverse()
Declaration: reverse
Direct overrides: list
Check whether the list has at least one element that satisfies the predicate.
implement boolean has(predicate[nonnegative] the predicate) pure
Declaration: has
Direct overrides: list