Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV | NEXT | FRAMES | NO FRAMES |
AbstractIntegerNumber
.
AbstractRationalNumber
.
AbstractRealNumber
object.
null
.
CompositeNumber
implementations. IntegerNumber
implementations.
RationalNumber
implementations.
RealNumber
implementations.
BasicIntegerNumber
from a
BigInteger
.
BasicRationalNumber
from a numerator and
a denominator.
null
.
BigInteger
this
IntegerNumber
implementation is based on.
byte
.
CanNotCompareException
for a failed
comparison between the specified numbers.
long
.
long
.
BasicIntegerNumber
based on a
java.math.
- createInstance(IntegerNumber, IntegerNumber) -
Static method in class nl.coffee.math.BasicRationalNumber
- Returns an instance of a
BasicRationalNumber
with the
given numerator and denominator.
- createInstance(long) -
Static method in class nl.coffee.math.LongIntegerNumber
- Returns an instance of a
LongIntegerNumber
based on a
long
value.
- createInstance(RealNumber, RealNumber) -
Static method in class nl.coffee.math.Power
- Returns a
Power
with the specified operands.
- createInstance(RealNumber, RealNumber) -
Static method in class nl.coffee.math.Product
- Returns a
Product
with the specified operands.
- createInstance(RealNumber, RealNumber) -
Static method in class nl.coffee.math.Sum
- Returns a
Sum
with the specified operands.
- createInteger(byte[]) -
Method in class nl.coffee.math.DefaultNumberFactory
-
- createInteger(byte[]) -
Static method in class nl.coffee.math.NumberCentral
- Returns an integer number from a byte array in two's complement
notation.
- createInteger(byte[]) -
Method in interface nl.coffee.math.NumberFactory
- Returns an integer number from a byte array in two's complement
notation.
- createRandomInteger(int) -
Method in class nl.coffee.math.DefaultNumberFactory
-
- createRandomInteger(int) -
Static method in class nl.coffee.math.NumberCentral
- Returns an
IntegerNumber
with a random value.
- createRandomInteger(int) -
Method in interface nl.coffee.math.NumberFactory
- Returns a pseudo-random
IntegerNumber
of at maximum
maxBytes
bytes.
DefaultNumberFactory
.
NumberFactory
.null
.
double
.
byte
.
double
.
float
.
int
.
long
.
short
.
float
.
NumberFactory
.
CompositeNumber
.
CompositeNumber
.
int
.
LongIntegerNumber
from a
long
.
IntegerNumber
based on a
long
value.
long
.
IntegerNumber
that can be represented by this
class.
IntegerNumber
that can be represented by this
class.
null
.
RealNumber
objects.RealNumber
objects.null
.
null
.
null
.
Power
with the specified base and exponent.
Product
based on the 2 specified operands.
Random
object used to obtain pseudo-random numbers.
Sum
based on the 2 specified operands.
null
.
NumberFactory
.
short
.
BigDecimal
.
BigDecimal
with the
specified precision.
BigDecimal
with the
specified precision and rounding mode.
BigDecimal
.
BigDecimal
with the
specified precision and rounding mode.
BigDecimal
with the
specified precision.
BigDecimal
with the
specified precision and rounding mode.
BigDecimal
with the
specified precision and rounding mode.
BigInteger
.
BigInteger
.
BigInteger
.
The implementation of this method in
AbstractIntegerNumber
returns this.
long
this IntegerNumber
implementation
is based on.
double
.
long
.
java.math.
- valueOf(BigDecimal) -
Static method in class nl.coffee.math.NumberCentral
- Converts a
java.math.
- valueOf(double) -
Method in interface nl.coffee.math.NumberFactory
- Returns a rational number from the given
double
.
- valueOf(long) -
Method in interface nl.coffee.math.NumberFactory
- Returns a rational number from the given
long
.
- valueOf(BigInteger) -
Method in interface nl.coffee.math.NumberFactory
- Converts a
java.math.
- valueOf(BigDecimal) -
Method in interface nl.coffee.math.NumberFactory
- Converts a
java.math.
- valueOf(String) -
Method in interface nl.coffee.math.NumberFactory
- Converts a
String
to a RealNumber
.
Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV | NEXT | FRAMES | NO FRAMES |