Package org.apache.commons.lang.math
package org.apache.commons.lang.math
Extends
java.math
for business mathematical classes. This package is intended for business
mathematical use, not scientific use. See Commons Math
for a more complete set of mathematical classes.- Since:
- 2.0
These classes are immutable, and therefore thread-safe.
-
ClassesClassDescription
DoubleRange
represents an inclusive range ofdouble
s.FloatRange
represents an inclusive range offloat
s.Fraction
is aNumber
implementation that stores fractions accurately.Provides IEEE-754r variants of NumberUtils methods.IntRange
represents an inclusive range ofint
s.JVMRandom
is a wrapper that supports all possible Random methods via theMath.random()
method and its system-wideRandom
object.LongRange
represents an inclusive range oflong
s.NumberRange
represents an inclusive range ofNumber
objects of the same type.Provides extra functionality for Java Number classes.RandomUtils
is a wrapper that supports all possibleRandom
methods via theMath.random()
method and its system-wideRandom
object.Range
represents a range of numbers of the same type.