Package org.openjdk.jmc.common
Interface IPredicate<T>
-
- Type Parameters:
T- the type of objects that this predicate can test
- All Known Implementing Classes:
TimeRangeFilter.TimeRangePredicate,TimeRangeThreadFilter.TimeRangePredicate
public interface IPredicate<T>A predicate tests an object and returns eithertrueorfalsedepending on the implementation. This is very similar to the Java 8 interface java.util.Predicate.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanevaluate(T o)Tests an object.
-
-
-
Method Detail
-
evaluate
boolean evaluate(T o)
Tests an object.- Parameters:
o- object to test- Returns:
- the test result,
trueorfalse
-
-