PredicateComparator<T> extension

on

Methods

equalTo(T a, T b) bool
A predicate that evaluates to true if a equals b.
greaterThan(T a, T b) bool
A predicate that evaluates to true if a is larger than b.
greaterThanOrEqualTo(T a, T b) bool
A predicate that evaluates to true if a is larger or equal to b.
lessThan(T a, T b) bool
A predicate that evaluates to true if a is smaller than b.
lessThanOrEqualTo(T a, T b) bool
A predicate that evaluates to true if a is smaller or equal to b.
notEqualTo(T a, T b) bool
A predicate that evaluates to true if a not equals to b.