| Constructor and Description |
|---|
MathUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
ceil(int n,
int base) |
static int |
pow(int n,
int exponent) |
static int |
pow2(int exponent) |
static byte[] |
toByteArray(int value) |
static byte[] |
toByteArray(int begin,
int end) |
static byte[] |
toByteArray(long value) |
static int |
toInt(byte[] bytes) |
static long |
toLong(byte[] bytes) |
public static int ceil(int n,
int base)
public static int pow2(int exponent)
public static int pow(int n,
int exponent)
public static byte[] toByteArray(int value)
public static int toInt(byte[] bytes)
public static byte[] toByteArray(long value)
public static long toLong(byte[] bytes)
public static byte[] toByteArray(int begin,
int end)
Copyright © 2017. All rights reserved.