Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static int |
compare(int i1,
int i2)
Compare two integers numerically.
|
public Utils()
public static final int compare(int i1, int i2)
i1
- Integer #1i2
- Integer #20
if Integer #1 is equal to Integer #2; a value less than 0
if
Integer #1 numerically less than Integer #2; and a value greater than 0
if Integer #1 is
numerically greater than Integer #2 (signed comparison).Copyright © 2018 Apache. All rights reserved.