Package eu.bandm.tools.lljava.absy
Class Interval
java.lang.Object
eu.bandm.tools.lljava.absy.Interval
Pointed intervals of integers. Each interval has two simultaneous
meanings:
- a location, i.e. a closed nonempty interval; and
- a content, i.e. a left-closed/right-open, possible empty interval.
An interval that has empty content is simply called empty. Note that empty intervals still have a location point; there is a distinct empty interval for every integer location.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Qualitative location relationships between two intervals.static class
static class
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Interval
public Interval(int start, int end)
-
-
Method Details
-
getStart
public int getStart() -
getEnd
public int getEnd() -
getLength
public int getLength() -
contains
public boolean contains(int value) -
stream
-
relation
-
connected
-
span
-
equals
-
equals
-
hashCode
public int hashCode() -
toString
-
checkRelation
-
main
-