class Immutable::Map::Transient(K, V)

Defined in:

immutable/map.cr

Constructors

Instance Method Summary

Instance methods inherited from class Immutable::Map(K, V)

==(other : Map) ==, [](key : K) [], []?(key : K) []?, delete(key : K) delete, each
each(&block)
each
, each_key
each_key(&block : K -> )
each_key
, each_value
each_value(&block : V -> )
each_value
, fetch(key : K, &block : K -> _)
fetch(key : K, default)
fetch(key : K)
fetch
, hash hash, inspect(io : IO) inspect, keys keys, merge(map : Immutable::Map(L, W)) forall L, W
merge(hash : Hash(L, W)) forall L, W
merge(map : Immutable::Map(K, V))
merge(hash : Hash(K, V))
merge
, set(key : K, value : V) set, size size, to_json(json : JSON::Builder) to_json, to_s(io : IO) to_s, transient(&block) transient, values values

Constructor methods inherited from class Immutable::Map(K, V)

new(hash : Hash(K, V) = {} of K => V)
new(hash : Hash(K, V) = {} of K => V, &block : K -> V)
new(e : Enumerable(::Tuple(_, _)))
new

Class methods inherited from class Immutable::Map(K, V)

[](hash : Hash(K, V) = {} of K => V) []

Constructor Detail

def self.new(hash : Hash(K, V) = {} of K => V) #

[View source]
def self.new(hash : Hash(K, V) = {} of K => V, &block : K -> V) #

[View source]
def self.new(e : Enumerable(::Tuple(L, W))) forall L, W #

[View source]

Instance Method Detail

def delete(key : K) #

[View source]
def merge(hash : Hash(K, V)) #

[View source]
def merge(map : Immutable::Map(K, V)) #

[View source]
def merge(hash : Hash(L, W)) forall L, W #

[View source]
def merge(map : Immutable::Map(L, W)) forall L, W #

[View source]
def persist! #

[View source]
def set(key : K, value : V) #

[View source]