Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RBTree ¶ added in v1.1.12
type RBTree interface {
// Add overwrite if id repeated
Add(val Value) bool
Delete(Value) bool
DeleteByID(Value) bool
Exists(Value) bool
ExistsByID(Value) bool
Search(val Value) []Value
SearchByID(Value) Value
// Range do not by id
Range(min, max Value) []Value
Size() uint32
Empty() bool
Maximum() []Value
Minimum() []Value
PopMaximum() []Value
PopMinimum() []Value
Asc() []Value
Desc() []Value
String() string
ToJSON() []byte
}
Click to show internal directories.
Click to hide internal directories.