comparables.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static <C> boolean | Returns: left.compareTo(right) >= 0a comparable left, C the value to compare with right)The comparison operator |
| public static <C> boolean | Returns: left.compareTo(right) > 0a comparable left, C the value to compare with right)The comparison operator |
| public static <C> boolean | Returns: left.compareTo(right) <= 0a comparable left, C the value to compare with right)The comparison operator |
| public static <C> boolean | Returns: left.compareTo(right) < 0a comparable left, C the value to compare with right)The comparison operator |
| public static <C> int | Returns: left.compareTo(right)a comparable left, C the value to compare with right)The spaceship operator |
| ComparableExtensions | back to summary |
|---|---|
| public ComparableExtensions() | |
| operator_greaterEqualsThan | back to summary |
|---|---|
| public static <C> boolean operator_greaterEqualsThan(Comparable<? super C> left, C right) The comparison operator
| |
| operator_greaterThan | back to summary |
|---|---|
| public static <C> boolean operator_greaterThan(Comparable<? super C> left, C right) The comparison operator
| |
| operator_lessEqualsThan | back to summary |
|---|---|
| public static <C> boolean operator_lessEqualsThan(Comparable<? super C> left, C right) The comparison operator
| |
| operator_lessThan | back to summary |
|---|---|
| public static <C> boolean operator_lessThan(Comparable<? super C> left, C right) The comparison operator
| |
| operator_spaceship | back to summary |
|---|---|
| public static <C> int operator_spaceship(Comparable<? super C> left, C right) The spaceship operator
| |