Java Reference
Java Reference
SortedDisjointIntervalList.java
Go to the documentation of this file.
67 return new SortedDisjointIntervalList(mainJNI.SortedDisjointIntervalList_buildComplementOnInterval(swigCPtr, this, start, end), true);
79 public SWIGTYPE_p_std__setT_operations_research__ClosedInterval_operations_research__SortedDisjointIntervalList__IntervalComparator_t__iterator insertInterval(long start, long end) {
void insertIntervals(int[] starts, int[] ends)
Definition: SortedDisjointIntervalList.java:93
SortedDisjointIntervalList(long cPtr, boolean cMemoryOwn)
Definition: SortedDisjointIntervalList.java:22
void insertIntervals(long[] starts, long[] ends)
Adds all intervals [starts[i]..ends[i]].
Definition: SortedDisjointIntervalList.java:89
SortedDisjointIntervalList()
Definition: SortedDisjointIntervalList.java:46
SWIGTYPE_p_std__setT_operations_research__ClosedInterval_operations_research__SortedDisjointIntervalList__IntervalComparator_t__iterator insertInterval(long start, long end)
Adds the interval [start..end] to the list, and merges overlapping or immediately adjacent intervals...
Definition: SortedDisjointIntervalList.java:79
String toString()
Definition: SortedDisjointIntervalList.java:104
SortedDisjointIntervalList(int[] starts, int[] ends)
Definition: SortedDisjointIntervalList.java:59
SortedDisjointIntervalList(long[] starts, long[] ends)
Creates a SortedDisjointIntervalList and fills it with intervals [starts[i]..ends[i]].
Definition: SortedDisjointIntervalList.java:55
SortedDisjointIntervalList buildComplementOnInterval(long start, long end)
Builds the complement of the interval list on the interval [start, end].
Definition: SortedDisjointIntervalList.java:66
int numIntervals()
Returns the number of disjoint intervals in the list.
Definition: SortedDisjointIntervalList.java:100
This class represents a sorted list of disjoint, closed intervals.
Definition: SortedDisjointIntervalList.java:18