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