public class IntUtils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
MAX_POWER_OF_TWO
The largest power of two that can be represented as an
int. |
public static final int MAX_POWER_OF_TWO
int.public static int saturatedCast(long value)
int nearest in value to value.value - any long valueint if it is in the range of the int type,
Integer.MAX_VALUE if it is too large, or Integer.MIN_VALUE if it is too
smallCopyright © 2018–2022 Alibaba Group. All rights reserved.