class Immutable::Vector::Transient(T)
- Immutable::Vector::Transient(T)
- Immutable::Vector(T)
- Reference
- Object
Defined in:
immutable/vector.crConstructors
Instance Method Summary
- #persist!
- #pop : Tuple(T, Immutable::Vector::Transient(T))
- #pop? : Tuple(T?, Immutable::Vector::Transient(T))
- #push(elem : T)
- #set(i : Int, value : T)
Instance methods inherited from class Immutable::Vector(T)
&(other : Immutable::Vector(_))
&,
+(other : Immutable::Vector(U)) forall U
+,
-(other : Immutable::Vector(_))
-,
<<(elem : T)
<<,
<=>(other : Vector)
<=>,
==(other : Vector)
==,
[](i : Int)
[],
[]?(i : Int)
[]?,
any?
any?,
at(i : Int)at(i : Int, &block) at, each
each(&block) each, each_index(&block) each_index, empty? empty?, equals?(other : Vector, &block) equals?, first first, first? first?, hash hash, inspect(io : IO) inspect, last last, last? last?, pop : Tuple(T, Immutable::Vector(T)) pop, pop? : Tuple(T?, Immutable::Vector(T)) pop?, push(elem : T) push, set(i : Int, value : T) set, size size, to_json(json : JSON::Builder) to_json, to_s(io : IO) to_s, transient(&block) transient, uniq uniq, |(other : Immutable::Vector(U)) forall U |
Constructor methods inherited from class Immutable::Vector(T)
new(elems : Array(T))new new