public final class NumberOutput extends Object
Constructor and Description |
---|
NumberOutput() |
Modifier and Type | Method and Description |
---|---|
static boolean |
notFinite(double value)
Helper method to verify whether given
double value is finite
(regular rational number} or not (NaN or Infinity). |
static boolean |
notFinite(float value)
Helper method to verify whether given
float value is finite
(regular rational number} or not (NaN or Infinity). |
static int |
outputInt(int v,
byte[] b,
int off) |
static int |
outputInt(int v,
char[] b,
int off) |
static int |
outputLong(long v,
byte[] b,
int off) |
static int |
outputLong(long v,
char[] b,
int off) |
static String |
toString(double v) |
static String |
toString(float v) |
static String |
toString(int v) |
static String |
toString(long v) |
public static int outputInt(int v, char[] b, int off)
public static int outputInt(int v, byte[] b, int off)
public static int outputLong(long v, char[] b, int off)
public static int outputLong(long v, byte[] b, int off)
public static String toString(int v)
public static String toString(long v)
public static String toString(double v)
public static String toString(float v)
public static boolean notFinite(double value)
double
value is finite
(regular rational number} or not (NaN or Infinity).public static boolean notFinite(float value)
float
value is finite
(regular rational number} or not (NaN or Infinity).Copyright © 2008–2020 FasterXML. All rights reserved.