public class DurationPredicates
extends java.lang.Object
| Constructor and Description | 
|---|
DurationPredicates()  | 
| Modifier and Type | Method and Description | 
|---|---|
static <any> | 
longerThan(Duration duration)  | 
static <any> | 
longerThanDuration(Duration duration)  | 
static <any> | 
negative()  | 
static <any> | 
positive()  | 
static <any> | 
shorterThan(Duration duration)  | 
static <any> | 
shorterThanDuration(Duration duration)  | 
public static <any> positive()
Predicate that checks if a Duration supplied to
         Predicate#apply(Object) is positive.public static <any> negative()
Predicate that checks if a Duration supplied to
         Predicate#apply(Object) is negative.public static <any> longerThan(Duration duration)
public static <any> shorterThan(Duration duration)
public static <any> longerThanDuration(Duration duration)
public static <any> shorterThanDuration(Duration duration)