Package org.apache.commons.lang3.compare
Class ComparableUtils.ComparableCheckBuilder<A extends Comparable<A>>
java.lang.Object
org.apache.commons.lang3.compare.ComparableUtils.ComparableCheckBuilder<A>
- Type Parameters:
- A- the type of objects that this object may be compared against.
- Enclosing class:
- ComparableUtils
Provides access to the available methods
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanbetweenExclusive(A b, A c) booleanChecks if the object passed toComparableUtils.is(A)is equal tobbooleangreaterThan(A b) Checks if the object passed toComparableUtils.is(A)is greater thanbbooleanChecks if the object passed toComparableUtils.is(A)is greater than or equal tobbooleanChecks if the object passed toComparableUtils.is(A)is less thanbbooleanChecks if the object passed toComparableUtils.is(A)is less than or equal tob
- 
Method Details- 
between- Parameters:
- b- the object to compare to the base object
- c- the object to compare to the base object
- Returns:
- true if the base object is between b and c
 
- 
betweenExclusive- Parameters:
- b- the object to compare to the base object
- c- the object to compare to the base object
- Returns:
- true if the base object is between b and c and not equal to those
 
- 
equalToChecks if the object passed toComparableUtils.is(A)is equal tob- Parameters:
- b- the object to compare to the base object
- Returns:
- true if the value returned by Comparable.compareTo(T)is equal to0
 
- 
greaterThanChecks if the object passed toComparableUtils.is(A)is greater thanb- Parameters:
- b- the object to compare to the base object
- Returns:
- true if the value returned by Comparable.compareTo(T)is greater than0
 
- 
greaterThanOrEqualToChecks if the object passed toComparableUtils.is(A)is greater than or equal tob- Parameters:
- b- the object to compare to the base object
- Returns:
- true if the value returned by Comparable.compareTo(T)is greater than or equal to0
 
- 
lessThanChecks if the object passed toComparableUtils.is(A)is less thanb- Parameters:
- b- the object to compare to the base object
- Returns:
- true if the value returned by Comparable.compareTo(T)is less than0
 
- 
lessThanOrEqualToChecks if the object passed toComparableUtils.is(A)is less than or equal tob- Parameters:
- b- the object to compare to the base object
- Returns:
- true if the value returned by Comparable.compareTo(T)is less than or equal to0
 
 
-