Class Range
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.tree.Range
-
public class Range extends Object
A range of quantities. Typically used for time quantities.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAfter(IQuantity time)
boolean
isBefore(IQuantity time)
boolean
isInside(IQuantity time)
String
toString()
-
-
-
Method Detail
-
isInside
public boolean isInside(IQuantity time)
- Returns:
true
if the time is in the closed interval of this range
-
isBefore
public boolean isBefore(IQuantity time)
- Returns:
true
if the time is before the closed interval of this range
-
isAfter
public boolean isAfter(IQuantity time)
- Returns:
true
if the time is after the closed interval of this range
-
-