Module emojipoo_vbisect

Data Types

bindict()

bindict() = binary()

gb_tree_node()

gb_tree_node(K, V) = nil | {K, V, gb_tree_node(K, V), gb_tree_node(K, V)}

key()

key() = binary()

tree()

tree(Key, Value) = {non_neg_integer(), gb_tree_node(Key, Value)}

value()

value() = binary()

Function Index

find/2
find_geq/2Find largest {K,V} where K is smaller than or equal to key.
first_key/1
fold_until_stop/3
foldl/3
foldr/3
from_gb_tree/1
from_orddict/1
merge/3
to_gb_tree/1
to_orddict/1

Function Details

find/2

find(Key::key(), Dict::bindict()) -> {ok, value()} | error

find_geq/2

find_geq(Key::binary(), Binary::binary()) -> none | {ok, Key::key(), Value::value()}

Find largest {K,V} where K is smaller than or equal to key. This is good for an inner node where key is the smallest key in the child node.

first_key/1

first_key(BinDict::bindict()) -> binary() | none

fold_until_stop/3

fold_until_stop(Fun::function(), Acc::term(), X3::bindict()) -> {stopped, term()} | {ok, term()}

foldl/3

foldl(Fun::fun((Key::key(), Value::value(), Acc::term()) -> term()), Acc::term(), X3::bindict()) -> term()

foldr/3

foldr(Fun::fun((Key::key(), Value::value(), Acc::term()) -> term()), Acc::term(), X3::bindict()) -> term()

from_gb_tree/1

from_gb_tree(X1::tree(key(), value())) -> bindict()

from_orddict/1

from_orddict(OrdDict) -> any()

merge/3

merge(Fun, BinDict1, BinDict2) -> any()

to_gb_tree/1

to_gb_tree(X1::binary()) -> tree(key(), value())

to_orddict/1

to_orddict(BinDict) -> any()


Generated by EDoc