|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.btobits.util.misc.NumberUtil
public class NumberUtil
| Constructor Summary | |
|---|---|
NumberUtil()
|
|
| Method Summary | |
|---|---|
static byte[] |
formatFloat(double value)
|
static byte[] |
formatInt(long value)
|
static boolean |
isInvalidFloat(byte[] buf,
int off,
int len)
|
static boolean |
isInvalidInt(byte[] buf,
int off,
int len)
|
static double |
parseFloat(byte[] buf,
int off,
int len)
|
static long |
parseInt(byte[] buf,
int off,
int len)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NumberUtil()
| Method Detail |
|---|
public static boolean isInvalidInt(byte[] buf,
int off,
int len)
public static long parseInt(byte[] buf,
int off,
int len)
public static boolean isInvalidFloat(byte[] buf,
int off,
int len)
public static double parseFloat(byte[] buf,
int off,
int len)
public static byte[] formatInt(long value)
public static byte[] formatFloat(double value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||