This
- Self-reference to the subclass type itself.Comparable<This>
SingleNumber<This>
SingleDecimal
, SingleDouble
, SingleInt
, SingleLong
, SingleString
public interface SingleComparable<This extends SingleComparable<This>> extends Comparable<This>
Single
value with a Comparable
underlying value.Modifier and Type | Method | Description |
---|---|---|
default boolean |
isGreaterThan(This that) |
|
default boolean |
isGreaterThanOrEqualTo(This that) |
|
default boolean |
isLessThan(This that) |
|
default boolean |
isLessThanOrEqualTo(This that) |
|
default This |
max(This that) |
|
default This |
min(This that) |
compareTo
Copyright © 2020. All rights reserved.