Package com.googlecode.aviator.utils
Class Utils
java.lang.Object
com.googlecode.aviator.utils.Utils
Some helper methods.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final char[]
private static final ThreadLocal
<MessageDigest> private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
bytesToHex
(byte[] bytes) static long
static AviatorNumber
static String
static boolean
static String
static String
-
Field Details
-
CURRENT_VERSION
- See Also:
-
TICK_INTERVAL_MS
private static final int TICK_INTERVAL_MS -
MESSAGE_DIGEST_LOCAL
-
HEX_ARRAY
private static final char[] HEX_ARRAY
-
-
Constructor Details
-
Utils
private Utils()
-
-
Method Details
-
currentTimeNanos
public static long currentTimeNanos() -
bytesToHex
-
md5sum
-
readFully
- Throws:
IOException
-
exponent
-
getAviatorScriptVersion
-
isAndroid
public static boolean isAndroid()
-