Class Condition.ConditionIntvl

  • All Implemented Interfaces:
    Condition
    Enclosing interface:
    Condition

    public static class Condition.ConditionIntvl
    extends Condition.ConditionSet
    Represents a condition composed of a set operator and an interval (defined by its two inclusive bounds) as (right) operand.
    • Field Detail

      • min

        public long min
        The lower bound (inclusive) of the interval.
      • max

        public long max
        The upper bound (inclusive) of the interval.
    • Constructor Detail

      • ConditionIntvl

        public ConditionIntvl​(Types.TypeConditionOperatorSet operator,
                              long min,
                              long max)
        Constructs a condition composed of a set operator and an interval (defined by its two inclusive bounds) as (right) operand
        Parameters:
        operator - a set operator
        min - the lower bound (inclusive) of the interval
        max - the upper bound (inclusive) of the interval
      • ConditionIntvl

        public ConditionIntvl​(Types.TypeConditionOperatorSet operator,
                              Range range)
        Constructs a condition composed of a set operator and an interval defined by a range.
        Parameters:
        operator - a set operator
        range - a range denoting an interval
    • Method Detail

      • range

        public Range range()
      • rightTerm

        public Object rightTerm()
      • filtering

        public int[] filtering​(int[] values)