Class Interval


  • public class Interval
    extends Object
    • Field Detail

      • POS_INF

        public static final Comparable<?> POS_INF
      • NEG_INF

        public static final Comparable<?> NEG_INF
    • Constructor Detail

      • Interval

        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)
    • Method Detail

      • newFromBounds

        public static Interval newFromBounds​(Bound<?> lowerBound,
                                             Bound<?> upperBound)
      • getLowerBound

        public Bound<?> getLowerBound()
      • getUpperBound

        public Bound<?> getUpperBound()
      • getRule

        public int getRule()
      • getCol

        public int getCol()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • asRangeIncludes

        public boolean asRangeIncludes​(Object param)
      • includes

        public boolean includes​(Interval o)
      • leftAdjOrOverlap

        public boolean leftAdjOrOverlap​(Interval o)
      • invertBoundary

        public static org.kie.dmn.feel.runtime.Range.RangeBoundary invertBoundary​(org.kie.dmn.feel.runtime.Range.RangeBoundary b)
      • asHumanFriendly

        public String asHumanFriendly​(Domain domain)
      • isSingularity

        public boolean isSingularity()