public final class ComparableEvaluator extends Object
ComparableEvaluator is intended to evaluate Comparable objects.| Constructor and Description |
|---|
ComparableEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Comparable<T>> |
evaluateConsistency(T object,
T anotherObject)
Evaluate consistency of a comparator.
|
static <T extends Comparable<T>> |
evaluateReversalComparison(T object,
T anotherObject)
Evaluates the reversal comparison of the given objects.
|
static <T extends Comparable<T>> |
evaluateTransitivity(T a,
T b,
T c)
Evaluate transitivity.
|
public static <T extends Comparable<T>> boolean evaluateConsistency(T object, T anotherObject)
T - the generic typeobject - the objectanotherObject - the another objectpublic static <T extends Comparable<T>> boolean evaluateReversalComparison(T object, T anotherObject)
T - the generic typeobject - the objectanotherObject - the another objectpublic static <T extends Comparable<T>> boolean evaluateTransitivity(T a, T b, T c)
T - the generic typea - the first objectb - the second objectc - the third objectCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.