public class DoubleExactNumeric
extends Object
Constructor and Description |
---|
DoubleExactNumeric() |
Modifier and Type | Method and Description |
---|---|
static double |
abs(double x) |
static int |
compare(double x,
double y) |
static double |
div(double x,
double y) |
abstract static boolean |
equals(Object x$1) |
static boolean |
equiv(T x,
T y) |
static double |
fromInt(int x) |
static boolean |
gt(T x,
T y) |
static boolean |
gteq(T x,
T y) |
static boolean |
lt(T x,
T y) |
static boolean |
lteq(T x,
T y) |
static T |
max(T x,
T y) |
static T |
min(T x,
T y) |
static double |
minus(double x,
double y) |
static scala.math.Fractional.FractionalOps |
mkNumericOps(T lhs) |
static scala.math.Ordering.Ops |
mkOrderingOps(T lhs) |
static double |
negate(double x) |
static <U> scala.math.Ordering<U> |
on(scala.Function1<U,T> f) |
static T |
one() |
static double |
plus(double x,
double y) |
static scala.math.Ordering<T> |
reverse() |
static java.util.Comparator<T> |
reversed() |
static int |
signum(T x) |
static java.util.Comparator<T> |
thenComparing(java.util.Comparator<? super T> x$1) |
static <U extends Comparable<? super U>> |
thenComparing(java.util.function.Function<? super T,? extends U> x$1) |
static <U> java.util.Comparator<T> |
thenComparing(java.util.function.Function<? super T,? extends U> x$1,
java.util.Comparator<? super U> x$2) |
static java.util.Comparator<T> |
thenComparingDouble(java.util.function.ToDoubleFunction<? super T> x$1) |
static java.util.Comparator<T> |
thenComparingInt(java.util.function.ToIntFunction<? super T> x$1) |
static java.util.Comparator<T> |
thenComparingLong(java.util.function.ToLongFunction<? super T> x$1) |
static double |
times(double x,
double y) |
static double |
toDouble(double x) |
static float |
toFloat(double x) |
static int |
toInt(double x) |
static long |
toLong(double x) |
static scala.Some<Object> |
tryCompare(T x,
T y) |
static T |
zero() |
public static int toInt(double x)
public static long toLong(double x)
public static int compare(double x, double y)
public abstract static boolean equals(Object x$1)
public static java.util.Comparator<T> reversed()
public static java.util.Comparator<T> thenComparing(java.util.Comparator<? super T> x$1)
public static <U> java.util.Comparator<T> thenComparing(java.util.function.Function<? super T,? extends U> x$1, java.util.Comparator<? super U> x$2)
public static <U extends Comparable<? super U>> java.util.Comparator<T> thenComparing(java.util.function.Function<? super T,? extends U> x$1)
public static java.util.Comparator<T> thenComparingInt(java.util.function.ToIntFunction<? super T> x$1)
public static java.util.Comparator<T> thenComparingLong(java.util.function.ToLongFunction<? super T> x$1)
public static java.util.Comparator<T> thenComparingDouble(java.util.function.ToDoubleFunction<? super T> x$1)
public static scala.Some<Object> tryCompare(T x, T y)
public static boolean lteq(T x, T y)
public static boolean gteq(T x, T y)
public static boolean lt(T x, T y)
public static boolean gt(T x, T y)
public static boolean equiv(T x, T y)
public static T max(T x, T y)
public static T min(T x, T y)
public static scala.math.Ordering<T> reverse()
public static <U> scala.math.Ordering<U> on(scala.Function1<U,T> f)
public static scala.math.Ordering.Ops mkOrderingOps(T lhs)
public static T zero()
public static T one()
public static int signum(T x)
public static double plus(double x, double y)
public static double minus(double x, double y)
public static double times(double x, double y)
public static double negate(double x)
public static double fromInt(int x)
public static float toFloat(double x)
public static double toDouble(double x)
public static double abs(double x)
public static scala.math.Fractional.FractionalOps mkNumericOps(T lhs)
public static double div(double x, double y)