|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.evelopers.unimod.analysis.Range
| Nested Class Summary | |
(package private) static class |
Range.Interval
|
| Field Summary | |
(package private) java.util.List |
intervals
|
static int |
MAX
|
static int |
MIN
|
| Constructor Summary | |
Range()
|
|
| Method Summary | |
void |
clear()
Set this range to be equal to empty set |
void |
delete(int value)
Delete point value from this range. |
Range.Interval[] |
getIntervals()
Returns range of the vaiable presented as an array of intervals |
boolean |
includes(Range.Interval interval)
Checks if range includes interval interval |
boolean |
includes(Range range)
Checks if this range includes range |
void |
intersect(int left,
int right)
Intersect this range with interval [ left, right] |
void |
intersect(Range.Interval interval)
Intersect this range with interval |
boolean |
isEmpty()
Check if range is empty set |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int MAX
public static final int MIN
java.util.List intervals
| Constructor Detail |
public Range()
| Method Detail |
public void intersect(int left,
int right)
left, right]
public void intersect(Range.Interval interval)
interval
interval - public void delete(int value)
value from this range.
value - public void clear()
public Range.Interval[] getIntervals()
public boolean isEmpty()
public boolean includes(Range.Interval interval)
interval
public boolean includes(Range range)
range
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||