| Modifier and Type | Field and Description |
|---|---|
| public static final List | NUMERIC_PRIMITIVE_CLASSES
A |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static List | |
| public static int | |
| public static byte[] | |
| public static int | Returns: The closest positive power of 2 that is greater or equal to the value. If none can be found then returns the original valueThe original (non-negative) value value)
|
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | Returns: true if valid integer numberThe cs)CharSequence to checkChecks if optional sign and all others are '0'-'9' |
| public static boolean | Returns: If the class is aNumber or one of the primitive numerical typesThe clazz)Class to examine - ignored if null
|
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static int | |
| public static int | |
| public static int | |
| public static Integer |
| NUMERIC_PRIMITIVE_CLASSES | back to summary |
|---|---|
| public static final List<Class<?>> NUMERIC_PRIMITIVE_CLASSES A | |
| NumberUtils | back to summary |
|---|---|
| private NumberUtils() | |
| asList | back to summary |
|---|---|
| public static List | |
| diffOffset | back to summary |
|---|---|
| public static int diffOffset(byte[] a1, int startPos1, byte[] a2, int startPos2, int len) | |
| emptyIfNull | back to summary |
|---|---|
| public static byte[] emptyIfNull(byte[] a) | |
| getNextPowerOf2 | back to summary |
|---|---|
public static int getNextPowerOf2(int value)
| |
| hashCode | back to summary |
|---|---|
| public static int hashCode(long... values) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(int... values) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(byte... values) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(byte[] a, int offset, int len) | |
| isEmpty | back to summary |
|---|---|
| public static boolean isEmpty(byte[] a) | |
| isEmpty | back to summary |
|---|---|
| public static boolean isEmpty(int[] a) | |
| isEmpty | back to summary |
|---|---|
| public static boolean isEmpty(long[] a) | |
| isIntegerNumber | back to summary |
|---|---|
| public static boolean isIntegerNumber(CharSequence cs) Checks if optional sign and all others are '0'-'9'
| |
| isNumericClass | back to summary |
|---|---|
public static boolean isNumericClass(Class<?> clazz)
| |
| join | back to summary |
|---|---|
| public static String join(CharSequence separator, long... values) | |
| join | back to summary |
|---|---|
| public static String join(char separator, long... values) | |
| join | back to summary |
|---|---|
| public static String join(CharSequence separator, boolean unsigned, byte... values) | |
| join | back to summary |
|---|---|
| public static String join(char separator, boolean unsigned, byte... values) | |
| join | back to summary |
|---|---|
| public static String join(CharSequence separator, int... values) | |
| join | back to summary |
|---|---|
| public static String join(char separator, int... values) | |
| length | back to summary |
|---|---|
| public static int length(byte... a) | |
| length | back to summary |
|---|---|
| public static int length(int... a) | |
| length | back to summary |
|---|---|
| public static int length(long... a) | |
| toInteger | back to summary |
|---|---|
| public static Integer toInteger(Number n) | |