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 DoubleRangerepresents an inclusive range ofdoubles.FloatRange FloatRangerepresents an inclusive range offloats.Fraction Fractionis aNumberimplementation that stores fractions accurately.IEEE754rUtils Provides IEEE-754r variants of NumberUtils methods.IntRange IntRangerepresents an inclusive range ofints.JVMRandom JVMRandomis a wrapper that supports all possible Random methods via theMath.random()method and its system-wideRandomobject.LongRange LongRangerepresents an inclusive range oflongs.NumberRange NumberRangerepresents an inclusive range ofNumberobjects of the same type.NumberUtils Provides extra functionality for Java Number classes.RandomUtils RandomUtilsis a wrapper that supports all possibleRandommethods via theMath.random()method and its system-wideRandomobject.Range Rangerepresents a range of numbers of the same type.