public final class NumberConversions extends Object
Modifier and Type | Method and Description |
---|---|
static int |
ceil(double num) |
static void |
checkFinite(double d,
@NotNull String message) |
static void |
checkFinite(float d,
@NotNull 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(@Nullable Object object) |
static double |
toDouble(@Nullable Object object) |
static float |
toFloat(@Nullable Object object) |
static int |
toInt(@Nullable Object object) |
static long |
toLong(@Nullable Object object) |
static short |
toShort(@Nullable Object object) |
Copyright © 2021. All rights reserved.