Package com.jcabi.immutable
Class ArrayComparator.Default<T>
- java.lang.Object
-
- com.jcabi.immutable.ArrayComparator.Default<T>
-
- Type Parameters:
T
- Type of argument
- All Implemented Interfaces:
ArrayComparator<T>
,Serializable
,Comparator<T>
- Enclosing interface:
- ArrayComparator<T>
@Immutable public static final class ArrayComparator.Default<T> extends Object implements ArrayComparator<T>, Serializable
Default comparator.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jcabi.immutable.ArrayComparator
ArrayComparator.Default<T>, ArrayComparator.Neutral<T>, ArrayComparator.Reverse<T extends Comparable<T>>
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(T left, T right)
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-