public class NumberUtil extends Object
Constructor and Description |
---|
NumberUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static byte[] |
toAsciiBytes(double i) |
static byte[] |
toAsciiBytes(float i) |
static byte[] |
toAsciiBytes(int i) |
static byte[] |
toAsciiBytes(long i) |
static byte[] |
toAsciiBytes(Number i) |
static byte[] |
toAsciiBytes(short i) |
static int |
unsigned16(short n) |
static long |
unsigned32(int n) |
public static long unsigned32(int n)
public static int unsigned16(short n)
public static byte[] toAsciiBytes(Number i)
public static byte[] toAsciiBytes(short i)
public static byte[] toAsciiBytes(int i)
public static byte[] toAsciiBytes(long i)
public static byte[] toAsciiBytes(float i)
public static byte[] toAsciiBytes(double i)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.