public class NumberUtil extends Object
Constructor and Description |
---|
NumberUtil() |
Modifier and Type | Method and Description |
---|---|
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) |
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)
Copyright © 2000–2022 EPAM Systems. All rights reserved.