This
- Self-reference to the subclass type itself.public interface SingleComparable<This extends SingleComparable<This>> extends Comparable<This>
Single
value with a Comparable
underlying value.Modifier and Type | Method and 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 © 2022. All rights reserved.