API Docs for:
Show:

Node Class

node of IntervalTree, containing intervalsj

Methods

count

() Number

the number of intervals

Returns:

Number:

endPointSearch

(
  • val
)
Array(Interval)

get intervals whose end position is more than or equal to the given value

Parameters:

  • val Number

Returns:

Array(Interval):

getAllIntervals

() Array(Interval)

gets all registered interval

Returns:

Array(Interval):

insert

(
  • interval
)

insert an interval

Parameters:

remove

(
  • interval
  • list
)

remove the given interval

Parameters:

removeFromList

(
  • interval
  • list
)
private

remove the given interval from the given list

Parameters:

startPointSearch

(
  • val
)
Array(Interval)

get intervals whose start position is less than or equal to the given value

Parameters:

  • val Number

Returns:

Array(Interval):

Properties

ends

SortedList(Interval)

sorted list of Intervals, sorting them by their end property

left

Node

another node whose center is less than this.center

right

Node

another node whose center is greater than this.center

starts

SortedList(Interval)

sorted list of Intervals, sorting them by their start property