@FunctionalInterface
@Generated(value="uk.kludje.annotation.processor.UncheckedFunctionalInterfaceProcessor")
public interface UComparator<T>
extends java.util.Comparator<T>
Modifier and Type | Method and Description |
---|---|
int |
$compare(T arg0,
T arg1) |
static <T> UComparator<T> |
asUComparator(UComparator<T> t)
Convenience method as an alternative to casting.
|
default int |
compare(T arg0,
T arg1)
Invokes
int $compare(T arg0, T arg1) . |
default int compare(T arg0, T arg1)
int $compare(T arg0, T arg1)
.
Throws anything thrown by int $compare(T arg0, T arg1)
.compare
in interface java.util.Comparator<T>
static <T> UComparator<T> asUComparator(UComparator<T> t)
t
- the unchecked type