public class Bound<V extends Comparable<V>> extends Object implements Comparable<Bound<V>>
Constructor and Description |
---|
Bound(V value,
org.kie.dmn.feel.runtime.Range.RangeBoundary boundaryType,
Interval parent) |
Modifier and Type | Method and Description |
---|---|
static boolean |
adOrOver(Bound<?> left,
Bound<?> right)
Returns true if left is overlapping or adjacent to right
|
static String |
boundValueToString(Comparable<?> value) |
int |
compareTo(Bound<V> o) |
boolean |
equals(Object obj) |
org.kie.dmn.feel.runtime.Range.RangeBoundary |
getBoundaryType() |
Interval |
getParent() |
V |
getValue() |
int |
hashCode() |
boolean |
isLowerBound() |
boolean |
isUpperBound() |
String |
toString() |
public int compareTo(Bound<V> o)
compareTo
in interface Comparable<Bound<V extends Comparable<V>>>
public V getValue()
public org.kie.dmn.feel.runtime.Range.RangeBoundary getBoundaryType()
public Interval getParent()
public boolean isLowerBound()
public boolean isUpperBound()
public static boolean adOrOver(Bound<?> left, Bound<?> right)
public static String boundValueToString(Comparable<?> value)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.