Documentation ¶
Index ¶
- type IntervalPart
- type MultiInterval
- func (i *MultiInterval) GetEnd(part int) int
- func (i *MultiInterval) GetGlobalEnd() int
- func (i *MultiInterval) GetGlobalStart() int
- func (i *MultiInterval) GetNumParts() int
- func (i *MultiInterval) GetPart(part int) *IntervalPart
- func (i *MultiInterval) GetStart(part int) int
- func (i *MultiInterval) Intersects(other *MultiInterval) bool
- func (i *MultiInterval) Join(other *MultiInterval) *MultiInterval
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntervalPart ¶
type IntervalPart struct {
// contains filtered or unexported fields
}
func (*IntervalPart) Intersects ¶
func (p *IntervalPart) Intersects(other *IntervalPart) bool
type MultiInterval ¶
type MultiInterval struct {
// contains filtered or unexported fields
}
func New ¶
func New(boundaries ...int) *MultiInterval
func (*MultiInterval) GetEnd ¶
func (i *MultiInterval) GetEnd(part int) int
func (*MultiInterval) GetGlobalEnd ¶
func (i *MultiInterval) GetGlobalEnd() int
func (*MultiInterval) GetGlobalStart ¶
func (i *MultiInterval) GetGlobalStart() int
func (*MultiInterval) GetNumParts ¶
func (i *MultiInterval) GetNumParts() int
func (*MultiInterval) GetPart ¶
func (i *MultiInterval) GetPart(part int) *IntervalPart
func (*MultiInterval) GetStart ¶
func (i *MultiInterval) GetStart(part int) int
func (*MultiInterval) Intersects ¶
func (i *MultiInterval) Intersects(other *MultiInterval) bool
func (*MultiInterval) Join ¶
func (i *MultiInterval) Join(other *MultiInterval) *MultiInterval
Click to show internal directories.
Click to hide internal directories.