public class Interval extends Object
Modifier and Type | Field and Description |
---|---|
static Comparable<?> |
NEG_INF |
static Comparable<?> |
POS_INF |
Constructor and Description |
---|
Interval(org.kie.dmn.feel.runtime.Range.RangeBoundary lowBoundary,
Comparable<?> start,
Comparable<?> end,
org.kie.dmn.feel.runtime.Range.RangeBoundary highBoundary,
int rule,
int col) |
Modifier and Type | Method and Description |
---|---|
static boolean |
adjOrOverlap(List<Interval> intervalsA,
List<Interval> intervalsB) |
String |
asHumanFriendly(Domain domain) |
boolean |
equals(Object obj) |
static List<Interval> |
flatten(List<Interval> intervals) |
int |
getCol() |
Bound<?> |
getLowerBound() |
int |
getRule() |
Bound<?> |
getUpperBound() |
int |
hashCode() |
boolean |
includes(Interval o) |
static org.kie.dmn.feel.runtime.Range.RangeBoundary |
invertBoundary(org.kie.dmn.feel.runtime.Range.RangeBoundary b) |
static List<Interval> |
invertOverDomain(Interval interval,
Interval domain) |
boolean |
isSingularity() |
boolean |
leftAdjOrOverlap(Interval o) |
static Interval |
newFromBounds(Bound<?> lowerBound,
Bound<?> upperBound) |
static List<Interval> |
normalizeDiscrete(List<Interval> intervals,
List<Object> discreteValues) |
String |
toString() |
public static final Comparable<?> POS_INF
public static final Comparable<?> NEG_INF
public Interval(org.kie.dmn.feel.runtime.Range.RangeBoundary lowBoundary, Comparable<?> start, Comparable<?> end, org.kie.dmn.feel.runtime.Range.RangeBoundary highBoundary, int rule, int col)
public Bound<?> getLowerBound()
public Bound<?> getUpperBound()
public int getRule()
public int getCol()
public boolean includes(Interval o)
public boolean leftAdjOrOverlap(Interval o)
public static org.kie.dmn.feel.runtime.Range.RangeBoundary invertBoundary(org.kie.dmn.feel.runtime.Range.RangeBoundary b)
public static List<Interval> normalizeDiscrete(List<Interval> intervals, List<Object> discreteValues)
public boolean isSingularity()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.