public final class Ints extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
checkedCast(long value)
Cast value to a an int, or throw an exception
if there is an overflow.
|
public static int checkedCast(long value)
value - a long to be casted to an intIllegalArgumentException - if value can't be casted to an intCopyright © 2018 The Apache Software Foundation. All rights reserved.