module Chem::ArrayView(T)
Included Modules
Direct including types
Defined in:
chem/core/array_view.crConstructors
Instance Method Summary
- #[](start : Int, count : Int) : self
- #[](range : Range(Int, Int)) : self
- #find(*args, **options)
- #find(*args, **options, &)
- #size(*args, **options)
- #size(*args, **options, &)
- #sort_by(&block : T -> _) : self
-
#to_a : Array(T)
Returns an
Array
with all the elements in the collection. - #unsafe_fetch(*args, **options)
- #unsafe_fetch(*args, **options, &)
Instance methods inherited from module Indexable(T)
index!(of object, offset : Int = 0) : Intindex!(offset : Int = 0, &block : T -> Bool) : Int index!
Constructor Detail
Instance Method Detail
Description copied from module Indexable(T)
Returns an Array
with all the elements in the collection.
{1, 2, 3}.to_a # => [1, 2, 3]