public class Ints extends Object
| Constructor and Description |
|---|
Ints() |
| Modifier and Type | Method and Description |
|---|---|
static int |
checkedCast(long value)
Returns the
int value that is equal to value, if possible. |
public static int checkedCast(long value)
int value that is equal to value, if possible.value - any value in the range of the int typeint value that equals valueIllegalArgumentException - if value is greater than Integer.MAX_VALUE or less than Integer.MIN_VALUECopyright © 2019. All rights reserved.