public class SortedDisjointIntervalList
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Constructor and Description |
|---|
SortedDisjointIntervalList() |
SortedDisjointIntervalList(int[] starts,
int[] ends) |
SortedDisjointIntervalList(long[] starts,
long[] ends)
Creates a SortedDisjointIntervalList and fills it with intervals
[starts[i]..ends[i]]. |
SortedDisjointIntervalList(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
SortedDisjointIntervalList |
buildComplementOnInterval(long start,
long end)
Builds the complement of the interval list on the interval [start, end].
|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(SortedDisjointIntervalList obj) |
void |
insertInterval(long start,
long end) |
void |
insertIntervals(int[] starts,
int[] ends) |
void |
insertIntervals(long[] starts,
long[] ends)
Adds all intervals [starts[i]..ends[i]].
Same behavior as InsertInterval() upon invalid intervals. |
int |
numIntervals()
Returns the number of disjoint intervals in the list.
|
static long |
swigRelease(SortedDisjointIntervalList obj) |
java.lang.String |
toString() |
public SortedDisjointIntervalList(long cPtr,
boolean cMemoryOwn)
public SortedDisjointIntervalList()
public SortedDisjointIntervalList(long[] starts,
long[] ends)
public SortedDisjointIntervalList(int[] starts,
int[] ends)
public static long getCPtr(SortedDisjointIntervalList obj)
public static long swigRelease(SortedDisjointIntervalList obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public SortedDisjointIntervalList buildComplementOnInterval(long start, long end)
public void insertIntervals(long[] starts,
long[] ends)
public void insertIntervals(int[] starts,
int[] ends)
public int numIntervals()
public java.lang.String toString()
toString in class java.lang.Objectpublic void insertInterval(long start,
long end)
Copyright © 2024. All rights reserved.