Package org.uncommons.maths.number
Custom numeric data types and classes for working with java.lang.Number and
its sub-classes.
-
Interface Summary Interface Description NumberGenerator<T extends java.lang.Number> Interface for providing different types of sequences of numbers. -
Class Summary Class Description AdjustableNumberGenerator<T extends java.lang.Number> Implementation ofNumberGenerator
that works similarly toConstantGenerator
but allows the returned value to be changed after instantiation.ConstantGenerator<T extends java.lang.Number> Convenience implementation ofNumberGenerator
that always returns the same value.Rational Immutable value object for representing a rational number (or vulgar fraction).