Class MathConstants
java.lang.Object
com.bluebell.greenhouse.platform.constants.system.MathConstants
Constants used for mathematical & arithmetic operations.
- Version:
- 1.0.2
- Author:
- Stephen Prizio
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefines a more accurate decimal precision for floating-point values.static final doubleFloating-point constant representing one.static final doubleFloating-point constant representing one hundred.static final doubleFloating-point constant representing one thousand.static final doubleFloating-point constant representing ten.static final doubleFloating-point constant representing ten thousand.static final doubleFloating-point constant representing zero.static final intDefines the multiplier used in hashcode calculations.static final intInteger constant representing one.static final intInteger constant representing one hundred.static final intInteger constant representing one thousand.static final intInteger constant representing ten.static final intInteger constant representing zero.static final intDefines the precision for floating-point values.static final doubleScoring multiplier for Levenshtein distance. -
Method Summary
-
Field Details
-
HASHCODE_MULTIPLIER
public static final int HASHCODE_MULTIPLIERDefines the multiplier used in hashcode calculations.- See Also:
-
STANDARD_DECIMAL_PRECISION
public static final int STANDARD_DECIMAL_PRECISIONDefines the precision for floating-point values.- See Also:
-
ACCURATE_DECIMAL_PRECISION
public static final int ACCURATE_DECIMAL_PRECISIONDefines a more accurate decimal precision for floating-point values.- See Also:
-
INTEGER_ZERO
public static final int INTEGER_ZEROInteger constant representing zero. -
INTEGER_ONE
public static final int INTEGER_ONEInteger constant representing one. -
INTEGER_TEN
public static final int INTEGER_TENInteger constant representing ten. -
INTEGER_ONE_HUNDRED
public static final int INTEGER_ONE_HUNDREDInteger constant representing one hundred. -
INTEGER_ONE_THOUSAND
public static final int INTEGER_ONE_THOUSANDInteger constant representing one thousand. -
FLOAT_ZERO
public static final double FLOAT_ZEROFloating-point constant representing zero. -
FLOAT_ONE
public static final double FLOAT_ONEFloating-point constant representing one. -
FLOAT_TEN
public static final double FLOAT_TENFloating-point constant representing ten. -
FLOAT_ONE_HUNDRED
public static final double FLOAT_ONE_HUNDREDFloating-point constant representing one hundred. -
FLOAT_ONE_THOUSAND
public static final double FLOAT_ONE_THOUSANDFloating-point constant representing one thousand. -
FLOAT_TEN_THOUSAND
public static final double FLOAT_TEN_THOUSANDFloating-point constant representing ten thousand. -
SYMBOL_ALIAS_LEVENSHTEIN_DISTANCE_SCORING_MULTIPLIER
public static final double SYMBOL_ALIAS_LEVENSHTEIN_DISTANCE_SCORING_MULTIPLIERScoring multiplier for Levenshtein distance.- See Also:
-