Package org.yamcs.xtce
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntegerRange(long minInclusive, long maxInclusive)IntegerRange(IntegerRange range)copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetMaxInclusive()longgetMinInclusive()IntegerRangeintersectWith(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)StringtoString()StringtoString(boolean signed)
-
-
-
Constructor Detail
-
IntegerRange
public IntegerRange(long minInclusive, long maxInclusive)
-
IntegerRange
public IntegerRange(IntegerRange range)
copy constructor
-
-
Method Detail
-
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(boolean signed)
-
-