func (n *IntNode) color() llrb.Color {
	if n == nil {
		return llrb.Black
	}
	return n.Color
}
Helper methods
color returns the effect color of a IntNode. A nil node returns black.
package interval
import (
	"github.com/biogo/store/llrb"
)
type IntOverlapper interface {
	Overlap(IntRange) bool
}
type IntRange struct {
	Start, End int
}
type IntInterface interface {
	IntOverlapper
	Range() IntRange
	ID() uintptr  
}
type IntNode struct {
	Elem        IntInterface
	Interval    IntRange
	Range       IntRange
	Left, Right *IntNode
	Color       llrb.Color
}
type IntTree struct {
	Root  *IntNode  
	Count int       
}