public class ShortComparator extends Object implements Comparator<Short>
| Modifier and Type | Field and Description |
|---|---|
static ShortComparator |
INSTANCE
A static instance of a ShortComparator
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Short short1,
Short short2)
Compare two shorts.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic static final ShortComparator INSTANCE
public int compare(Short short1, Short short2)
compare in interface Comparator<Short>short1 - First shortshort2 - Second shortCopyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.