package
0.0.0-20160920194302-ad86efcaa21b
Repository: https://github.com/a10y/cockroach.git
Documentation: pkg.go.dev

# Functions

NewRangeList constructs a linked-list backed RangeGroup.
NewRangeTree constructs an interval tree backed RangeGroup.

# Constants

Operation mode of the underlying LLRB tree.
Mode .
Operation mode of the underlying LLRB tree.

# Variables

ErrEmptyRange is returned if an interval is used where the start value is equal to the end value.
ErrInvertedRange is returned if an interval is used where the start value is greater than the end value.

# Structs

A Node represents a node in a Tree.
A Range is a type that describes the basic characteristics of an interval.
A Tree manages the root node of an interval tree.

# Interfaces

An Interface is a type that can be inserted into a Tree.
RangeGroup represents a set of possibly disjointed Ranges.

# Type aliases

A Comparable is a type that describes the ends of a Range.
An Operation is a function that operates on an Interface.