class Crystalline::Containers::SplayTreeMap(K, V)

Defined in:

containers/splay_tree_map.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def [](key : K) #

[View source]
def []=(key, value) #

[View source]
def clear #

[View source]
def delete(key) #

[View source]
def each(&) #

Iterates over the map in ascending order.

  • Uses an iterative, not recursive, approach.

[View source]
def get(key : K) #

[View source]
def has_key?(key) #

[View source]
def height #

[View source]
def max #

[View source]
def min #

[View source]
def push(key, value) #

[View source]
def size #

[View source]