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.
-
Class Summary Class Description DoubleRange DoubleRange
represents an inclusive range ofdouble
s.FloatRange FloatRange
represents an inclusive range offloat
s.Fraction Fraction
is aNumber
implementation that stores fractions accurately.IEEE754rUtils Provides IEEE-754r variants of NumberUtils methods.IntRange IntRange
represents an inclusive range ofint
s.JVMRandom JVMRandom
is a wrapper that supports all possible Random methods via theMath.random()
method and its system-wideRandom
object.LongRange LongRange
represents an inclusive range oflong
s.NumberRange NumberRange
represents an inclusive range ofNumber
objects of the same type.NumberUtils Provides extra functionality for Java Number classes.RandomUtils RandomUtils
is a wrapper that supports all possibleRandom
methods via theMath.random()
method and its system-wideRandom
object.Range Range
represents a range of numbers of the same type.