public final class NumberConversions
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static int |
ceil(double num) |
|
static void |
checkFinite(double d,
java.lang.String message) |
|
static void |
checkFinite(float d,
java.lang.String message) |
|
static int |
floor(double num) |
|
static boolean |
isFinite(double d) |
|
static boolean |
isFinite(float f) |
|
static int |
round(double num) |
|
static double |
square(double num) |
|
static byte |
toByte(java.lang.Object object) |
|
static double |
toDouble(java.lang.Object object) |
|
static float |
toFloat(java.lang.Object object) |
|
static int |
toInt(java.lang.Object object) |
|
static long |
toLong(java.lang.Object object) |
|
static short |
toShort(java.lang.Object object) |
public static int floor(double num)
public static int ceil(double num)
public static int round(double num)
public static double square(double num)
public static int toInt(java.lang.Object object)
public static float toFloat(java.lang.Object object)
public static double toDouble(java.lang.Object object)
public static long toLong(java.lang.Object object)
public static short toShort(java.lang.Object object)
public static byte toByte(java.lang.Object object)
public static boolean isFinite(double d)
public static boolean isFinite(float f)
public static void checkFinite(double d, java.lang.String message)
public static void checkFinite(float d, java.lang.String message)
Copyright © 2018. All rights reserved.