Class IntegerRange

java.lang.Object
org.yamcs.xtce.IntegerRange
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IntegerValidRange

public class IntegerRange extends Object implements Serializable
An integral range of numbers. "min", and "max"
See Also:
  • Constructor Details

    • IntegerRange

      public IntegerRange(long minInclusive, long maxInclusive)
    • IntegerRange

      public IntegerRange(IntegerRange range)
      copy constructor
  • Method Details

    • getMaxInclusive

      public long getMaxInclusive()
    • getMinInclusive

      public long getMinInclusive()
    • intersectWith

      public IntegerRange intersectWith(IntegerRange other)
      E.g. a low limit of ]-Infinity, -22] and a high limit of [40, +Infinity[ intersect to [-22, 40] (which for practical purposes is actually the range inside of which pvals are _not_ out of limits)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      public String toString(boolean signed)