Class TimeRangeFilter.TimeRangePredicate
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.tree.TimeRangeFilter.TimeRangePredicate
-
- All Implemented Interfaces:
IPredicate<IItem>
- Enclosing class:
- TimeRangeFilter
private class TimeRangeFilter.TimeRangePredicate extends java.lang.Object implements IPredicate<IItem>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TimeRangePredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate(IItem o)
Tests an object.private boolean
intersects(IItem o, Range range)
-
-
-
Method Detail
-
evaluate
public boolean evaluate(IItem o)
Description copied from interface:IPredicate
Tests an object.- Specified by:
evaluate
in interfaceIPredicate<IItem>
- Parameters:
o
- object to test- Returns:
- the test result,
true
orfalse
-
-