Package com.jcabi.immutable
Interface ArrayComparator<T>
-
- Type Parameters:
T
- Value type
- All Superinterfaces:
Comparator<T>
- All Known Implementing Classes:
ArrayComparator.Default
,ArrayComparator.Neutral
,ArrayComparator.Reverse
@Immutable public interface ArrayComparator<T> extends Comparator<T>
Comparator for arrays.- Since:
- 1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ArrayComparator.Default<T>
Default comparator.static class
ArrayComparator.Neutral<T>
Neutral comparator (never compares).static class
ArrayComparator.Reverse<T extends Comparable<T>>
Reverse comparator.
-
Method Summary
-
Methods inherited from interface java.util.Comparator
compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-