public abstract class MathUtil extends Object
Constructor and Description |
---|
MathUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
compareDoubleAgainstLong(double lhs,
long rhs) |
static int |
compareLongAgainstDouble(long lhs,
double rhs) |
static int |
decrementExactNotPastZero(int value)
Return an integer one less than the given integer, or throw
ArithmeticException if the given integer is
zero. |
static boolean |
numbersEqual(double fpn,
long in) |
public static boolean numbersEqual(double fpn, long in)
public static int compareDoubleAgainstLong(double lhs, long rhs)
public static int compareLongAgainstDouble(long lhs, double rhs)
public static int decrementExactNotPastZero(int value)
ArithmeticException
if the given integer is
zero.Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.