public interface Comparator
Comparator in return value.| Modifier and Type | Field and Description |
|---|---|
static int |
EQUAL |
static int |
GREATER |
static int |
LESS |
static int |
UNDECIDABLE |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object o2)
compare to value types and decides its order relation
|
static final int LESS
static final int EQUAL
static final int GREATER
static final int UNDECIDABLE
Copyright © 2017 Oracle Corporation. All rights reserved.