Index
All Classes and Interfaces|All Packages|Serialized Form
A
- abs() - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns this
RealNumber's absolute value - Aleph0 - Class in org.zfcj.math.numbers
-
Represents the aleph number aleph-zero, also called aleph-nought or aleph-null, and written as ℵ₀.
- ALEPH0 - Static variable in class org.zfcj.math.numbers.Aleph0
- AlephNumber - Interface in org.zfcj.math.numbers
-
AlephNumbers represent the cardinalities of infinite sets. - almostEquals(double) - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns true if the given double value is almost equal to this
RealNumber's double value where almost equal means that their absolute difference is less thanFloatingPointMath#getMaxError() - almostEquals(double, double) - Static method in interface org.zfcj.math.numbers.RealNumber
-
Returns true if the given double precision values are almost equal as defined by
FloatingPointMath#getMaxError() - almostEquals(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns true if the given
RealNumberis almost equal to thisRealNumberwhere almost equal means that their absolute difference is less than FloatingPointMath.getRealMaxError() - apply(Integer[]) - Method in class org.zfcj.math.numbers.LeastCommonMultiple
- apply(Integer, Integer) - Method in class org.zfcj.math.numbers.IntegerAddition
- apply(Integer, Integer) - Method in class org.zfcj.math.numbers.IntegerDivision
- apply(Integer, Integer) - Method in class org.zfcj.math.numbers.IntegerModulo
- apply(Integer, Integer) - Method in class org.zfcj.math.numbers.IntegerMultiplication
- apply(Integer, Integer) - Method in class org.zfcj.math.numbers.IntegerSubtraction
- apply(PositiveInteger[]) - Method in class org.zfcj.math.numbers.EuclideanAlgorithm
- apply(RationalNumber, RationalNumber) - Method in class org.zfcj.math.numbers.RationalAddition
- apply(RationalNumber, RationalNumber) - Method in class org.zfcj.math.numbers.RationalMultiplication
- apply(RealNumber) - Method in class org.zfcj.math.numbers.RealAbsoluteValue
- apply(RealNumber, RealNumber) - Method in class org.zfcj.math.numbers.RealAddition
- apply(RealNumber, RealNumber) - Method in class org.zfcj.math.numbers.RealDivision
- apply(RealNumber, RealNumber) - Method in class org.zfcj.math.numbers.RealExponentiation
- apply(RealNumber, RealNumber) - Method in class org.zfcj.math.numbers.RealModulo
- apply(RealNumber, RealNumber) - Method in class org.zfcj.math.numbers.RealMultiplication
- apply(RealNumber, RealNumber) - Method in class org.zfcj.math.numbers.RealSubtraction
- AtLeast<N extends Integer> - Interface in org.zfcj.math.numbers.concrete
-
An
Integerthat is at least some otherInteger - AtLeastEight - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 8 - AtLeastEighteen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 18 - AtLeastEleven - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 11 - AtLeastFifteen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 15 - AtLeastFive - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 5 - AtLeastFour - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 4 - AtLeastFourteen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 14 - AtLeastMinusOne - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than -1 - AtLeastNine - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 9 - AtLeastNineteen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 19 - AtLeastOne - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 1 - AtLeastSeven - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 7 - AtLeastSeventeen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 17 - AtLeastSix - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 6 - AtLeastSixteen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 16 - AtLeastTen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 10 - AtLeastThirteen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 13 - AtLeastThree - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 3 - AtLeastTwelve - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 12 - AtLeastTwenty - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 20 - AtLeastTwo - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 2 - AtLeastZero - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno less than 0 - AtMost<N extends Integer> - Interface in org.zfcj.math.numbers.concrete
-
An
Integerthat is at most some otherInteger - AtMostEight - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 8 - AtMostEighteen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 18 - AtMostEleven - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 11 - AtMostFifteen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 15 - AtMostFive - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 5 - AtMostFour - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 4 - AtMostFourteen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 14 - AtMostMinusOne - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than -1 - AtMostNine - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 9 - AtMostNineteen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 19 - AtMostOne - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 1 - AtMostSeven - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 7 - AtMostSeventeen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 17 - AtMostSix - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 6 - AtMostSixteen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 16 - AtMostTen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 10 - AtMostThirteen - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 13 - AtMostThree - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 3 - AtMostTwelve - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 12 - AtMostTwenty - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 20 - AtMostTwo - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 2 - AtMostZero - Interface in org.zfcj.math.numbers.concrete
-
An
Integerno greater than 0
B
- bigDecimalValue() - Method in class org.zfcj.math.numbers.concrete.ConcreteNumber
- bigDecimalValue() - Method in class org.zfcj.math.numbers.NegativeInfinity
- bigDecimalValue() - Method in class org.zfcj.math.numbers.PositiveInfinity
- bigDecimalValue() - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns this
RealNumber's value as aBigDecimal - bigIntegerValue() - Method in class org.zfcj.math.numbers.concrete.ConcreteNumber
- bigIntegerValue() - Method in interface org.zfcj.math.numbers.Integer
-
Returns the value of this
Integeras aBigInteger
C
- calculate(int...) - Static method in class org.zfcj.math.numbers.EuclideanAlgorithm
-
Returns the greatest common divisor of the given integers
- calculate(int...) - Static method in class org.zfcj.math.numbers.LeastCommonMultiple
-
Returns the least common multiple of the given integers
- calculate(long...) - Static method in class org.zfcj.math.numbers.EuclideanAlgorithm
-
Returns the greatest common divisor of the given long integers
- calculate(long...) - Static method in class org.zfcj.math.numbers.LeastCommonMultiple
-
Returns the least common multiple of the given longs
- calculate(BigInteger...) - Static method in class org.zfcj.math.numbers.EuclideanAlgorithm
-
Returns the greatest common divisor of the given
BigIntegers - calculate(BigInteger...) - Static method in class org.zfcj.math.numbers.LeastCommonMultiple
-
Returns the least common multiple of the given integers
- calculate(Integer...) - Static method in class org.zfcj.math.numbers.LeastCommonMultiple
-
Returns the least common multiple of the given integers
- calculate(Integer, Integer) - Static method in class org.zfcj.math.numbers.IntegerAddition
-
Adds the given
Integers and returns their sum - calculate(Integer, Integer) - Static method in class org.zfcj.math.numbers.IntegerModulo
-
Calculates the remainder of dividing the given dividend by the given divisor
- calculate(Integer, Integer) - Static method in class org.zfcj.math.numbers.IntegerMultiplication
-
Multiplies the given
Integers and returns their product - calculate(Integer, Integer) - Static method in class org.zfcj.math.numbers.IntegerSubtraction
-
Subtracts the given sutrahend from the given minued returning their difference
- calculate(NaturalNumber, NaturalNumber) - Static method in class org.zfcj.math.numbers.IntegerAddition
-
Adds the given
NaturalNumbers and returns the result - calculate(NaturalNumber, NaturalNumber) - Static method in class org.zfcj.math.numbers.IntegerMultiplication
-
Multiplies the given
NaturalNumbers and returns their product - calculate(PositiveInteger...) - Static method in class org.zfcj.math.numbers.EuclideanAlgorithm
-
Returns the greatest common divisor of the given PositiveIntegers
- calculate(PositiveInteger, PositiveInteger) - Static method in class org.zfcj.math.numbers.IntegerAddition
-
Adds the given
PositiveIntegers and returns the result - calculate(PositiveInteger, PositiveInteger) - Static method in class org.zfcj.math.numbers.IntegerMultiplication
-
Multiplies the given
PositiveIntegers and returns their product - calculate(RationalNumber, RationalNumber) - Static method in class org.zfcj.math.numbers.RationalAddition
-
Calculates the sum of addition of the given
RationalNumbersummands - calculate(RationalNumber, RationalNumber) - Static method in class org.zfcj.math.numbers.RationalMultiplication
-
Calculates the product of multiplication of the given
RationalNumberfactors - calculate(RealNumber) - Static method in class org.zfcj.math.numbers.RealAbsoluteValue
-
Calculates the
RealNumberthat is the absolute value of the givenRealNumber - calculate(RealNumber, RealNumber) - Static method in class org.zfcj.math.numbers.RealAddition
-
Calculates the sum of the given
RealNumbers r and s and returns the result - calculate(RealNumber, RealNumber) - Static method in class org.zfcj.math.numbers.RealDivision
-
Calculates the quotient of the given
RealNumbers r and s and returns the result - calculate(RealNumber, RealNumber) - Static method in class org.zfcj.math.numbers.RealExponentiation
-
Calculates the power of exponentiation of the given
RealNumberbase and exponent - calculate(RealNumber, RealNumber) - Static method in class org.zfcj.math.numbers.RealModulo
-
Calculates the modulo of the given
RealNumbers - calculate(RealNumber, RealNumber) - Static method in class org.zfcj.math.numbers.RealMultiplication
-
Calculates the product of multiplication of the given
RealNumberfactors - calculate(RealNumber, RealNumber) - Static method in class org.zfcj.math.numbers.RealSubtraction
-
Calculates the difference of subtracting the given
RealNumbers - CardinalNumber - Interface in org.zfcj.math.numbers
-
A
CardinalNumberis what is commonly called the cardinality or number of elements of a set. - compareTo(RealNumber) - Method in interface org.zfcj.math.numbers.Integer
- compareTo(RealNumber) - Method in interface org.zfcj.math.numbers.IrrationalNumber
- compareTo(RealNumber) - Method in class org.zfcj.math.numbers.NegativeInfinity
- compareTo(RealNumber) - Method in class org.zfcj.math.numbers.PositiveInfinity
- compareTo(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
- ConcreteNumber - Class in org.zfcj.math.numbers.concrete
-
A
ConcreteNumberis anIntegerwhose value is always the same specific integer and is identified by its type name. - ConcreteNumber(int) - Constructor for class org.zfcj.math.numbers.concrete.ConcreteNumber
- context() - Method in interface org.zfcj.math.numbers.IrrationalNumber
-
Returns the
MathContextused for someBigDecimalcalculations - count0ToN() - Method in interface org.zfcj.math.numbers.NaturalNumber
-
Returns a
Streamof allNaturalNumbers in the range fromZeroto thisNaturalNumber - count0ToN(N) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
-
Returns a stream of
ConcreteNumbers fromZEROtoN - count0ToNMinus1() - Method in interface org.zfcj.math.numbers.NaturalNumber
-
Returns a
Streamof allNaturalNumbers in the range fromZeroto thisNaturalNumberminus 1 - count0ToNMinus1(N) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
-
Returns a stream of
ConcreteNumbers fromZEROtoN-1 - count1ToN() - Method in interface org.zfcj.math.numbers.PositiveInteger
-
Returns a
Streamof allPositiveIntegers in the range fromOneto thisPositiveInteger - count1ToN(N) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
-
Returns a stream of
ConcreteNumbers fromONEtoN - count1ToNMinus1() - Method in interface org.zfcj.math.numbers.PositiveInteger
-
Returns a
Streamof allPositiveIntegers in the range fromOneto thisPositiveIntegerminus 1 - CountableNumber - Interface in org.zfcj.math.numbers
-
A
CountableNumberis aCardinalNumberthat is either aNaturalNumberorAleph0 - countMToN(M, N) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
-
Returns a stream of
ConcreteNumbers fromMtoN - countNMinus1To0() - Method in interface org.zfcj.math.numbers.PositiveInteger
-
Returns a
Streamof allNaturalNumbers in the range from thisNaturalNumberminus 1 toZero - countNTo0() - Method in interface org.zfcj.math.numbers.NaturalNumber
-
Returns a
Streamof allNaturalNumbers in the range from thisNaturalNumbertoZero - countNTo1() - Method in interface org.zfcj.math.numbers.NaturalNumber
-
Returns a
Streamof allNaturalNumbers in the range from thisNaturalNumbertoOne - countTo(Integer) - Method in interface org.zfcj.math.numbers.Integer
-
Returns a
Streamconsisting of allIntegers in the range from thisIntegerto the givenInteger - countTo(NaturalNumber) - Method in interface org.zfcj.math.numbers.NaturalNumber
-
Returns a
Streamof allNaturalNumbers in the range from thisNaturalNumberto the givenNaturalNumber - countTo(PositiveInteger) - Method in interface org.zfcj.math.numbers.PositiveInteger
-
Returns a
Streamof allPositiveIntegers in the range from thisPositiveIntegerto the givenPositiveInteger
D
- denominator() - Method in interface org.zfcj.math.numbers.Integer
- denominator() - Method in interface org.zfcj.math.numbers.RationalNumber
-
Return the denominator
- divide(Integer) - Method in interface org.zfcj.math.numbers.Integer
-
Returns the quotient of dividing this
Integerby the givenInteger - divide(NaturalNumber) - Method in interface org.zfcj.math.numbers.NaturalNumber
-
Returns the product of this
NaturalNumberand the givenNaturalNumber - divide(PositiveInteger) - Method in interface org.zfcj.math.numbers.PositiveInteger
-
Returns the quotient of dividing this
PositiveIntegerby the givenPositiveInteger - dividedBy(RationalNumber) - Method in interface org.zfcj.math.numbers.RationalNumber
-
Returns the quotient of dividing this
RationalNumberby the givenRationalNumber - dividedBy(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns the quotient of dividing this
RealNumberby the givenRealNumber - doubleValue() - Method in interface org.zfcj.math.numbers.Integer
- doubleValue() - Method in class org.zfcj.math.numbers.NegativeInfinity
- doubleValue() - Method in class org.zfcj.math.numbers.PositiveInfinity
- doubleValue() - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns this
RealNumber's value with double-precision type.
E
- Eight - Class in org.zfcj.math.numbers.concrete
-
The concrete number 8
- EIGHT - Static variable in class org.zfcj.math.numbers.concrete.Eight
- Eighteen - Class in org.zfcj.math.numbers.concrete
-
The concrete number 18
- EIGHTEEN - Static variable in class org.zfcj.math.numbers.concrete.Eighteen
- Eleven - Class in org.zfcj.math.numbers.concrete
-
The concrete number 11
- ELEVEN - Static variable in class org.zfcj.math.numbers.concrete.Eleven
- equals(Object) - Method in class org.zfcj.math.numbers.concrete.ConcreteNumber
- equals(Object) - Method in class org.zfcj.math.numbers.NegativeInfinity
- equals(Object) - Method in class org.zfcj.math.numbers.PositiveInfinity
- equals(Integer, Integer) - Static method in interface org.zfcj.math.numbers.Integer
-
Returns true if the given
Integers are equal, false otherwise - EuclideanAlgorithm - Class in org.zfcj.math.numbers
-
The Euclidean Algorithm is an efficient method for computing the (GCD) greatest common divisor of a set of integers
- EuclideanAlgorithm() - Constructor for class org.zfcj.math.numbers.EuclideanAlgorithm
F
- Fifteen - Class in org.zfcj.math.numbers.concrete
-
The concrete number 15
- FIFTEEN - Static variable in class org.zfcj.math.numbers.concrete.Fifteen
- Five - Class in org.zfcj.math.numbers.concrete
-
The concrete number 5
- FIVE - Static variable in class org.zfcj.math.numbers.concrete.Five
- FloatingPointMath - Class in org.zfcj.math.numbers
-
A container for
ThreadLocals that provide error thresholds for floating point calculations - FloatingPointMath() - Constructor for class org.zfcj.math.numbers.FloatingPointMath
- Four - Class in org.zfcj.math.numbers.concrete
-
The concrete number 4
- FOUR - Static variable in class org.zfcj.math.numbers.concrete.Four
- FourOrEight - Interface in org.zfcj.math.numbers.concrete
-
The number
Fouror the numberEight - Fourteen - Class in org.zfcj.math.numbers.concrete
-
The concrete number 14
- FOURTEEN - Static variable in class org.zfcj.math.numbers.concrete.Fourteen
G
- getMaxError() - Static method in class org.zfcj.math.numbers.FloatingPointMath
- getRealMaxError() - Static method in class org.zfcj.math.numbers.FloatingPointMath
- greaterThan(Integer) - Method in interface org.zfcj.math.numbers.Integer
-
Returns true if this
Integeris greater than the givenInteger, false otherwise - greaterThan(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns true if this
RealNumberis greater than the givenRealNumber, false otherwise - GreaterThanAleph0 - Class in org.zfcj.math.numbers
-
Represents a generic uncountable infinite cardinal
- greaterThanOrEqualTo(Integer) - Method in interface org.zfcj.math.numbers.Integer
-
Returns true if this
Integeris greater than the givenInteger, false otherwise - greaterThanOrEqualTo(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns true if this
RealNumberis greater than or equal to the givenRealNumber, false otherwise
H
- hashCode() - Method in class org.zfcj.math.numbers.concrete.ConcreteNumber
- hashCode() - Method in class org.zfcj.math.numbers.NegativeInfinity
- hashCode() - Method in class org.zfcj.math.numbers.PositiveInfinity
- hasType(int) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
-
Determines if there is a
ConcreteNumbersubtype whose value equals the given int - hasType(long) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
-
Determines if there is a
ConcreteNumbersubtype whose value equals the given long
I
- INSTANCE - Static variable in class org.zfcj.math.numbers.GreaterThanAleph0
- intDenominator() - Method in interface org.zfcj.math.numbers.Integer
- intDenominator() - Method in interface org.zfcj.math.numbers.RationalNumber
-
Returns the denominator as a primitive int or throws an exception if its not in the range of primitive ints
- Integer - Interface in org.zfcj.math.numbers
-
Any integer number such as -12, 14, 0, 1 google, etc.
- IntegerAddition - Class in org.zfcj.math.numbers
-
A
BinaryOperatorthat adds twoIntegers and returns the sum - IntegerAddition() - Constructor for class org.zfcj.math.numbers.IntegerAddition
- IntegerDivision - Class in org.zfcj.math.numbers
-
A
BinaryOperatorthat divides oneIntegers by another and returns their quotient - IntegerDivision() - Constructor for class org.zfcj.math.numbers.IntegerDivision
- IntegerModulo - Class in org.zfcj.math.numbers
-
A
BinaryOperatorthat divides oneIntegers by another and returns the remainder - IntegerModulo() - Constructor for class org.zfcj.math.numbers.IntegerModulo
- IntegerMultiplication - Class in org.zfcj.math.numbers
-
A
BinaryOperatorthat multiplies twoIntegers and returns their product - IntegerMultiplication() - Constructor for class org.zfcj.math.numbers.IntegerMultiplication
- IntegerSubtraction - Class in org.zfcj.math.numbers
-
A
BinaryOperatorthat subtracts oneIntegerfrom another and returns the difference - IntegerSubtraction() - Constructor for class org.zfcj.math.numbers.IntegerSubtraction
- intNumerator() - Method in interface org.zfcj.math.numbers.Integer
- intNumerator() - Method in interface org.zfcj.math.numbers.RationalNumber
-
Returns the numerator as a primitive int or throws an exception if its not in the range of primitive ints
- intValue() - Method in class org.zfcj.math.numbers.concrete.ConcreteNumber
- intValue() - Method in interface org.zfcj.math.numbers.Integer
-
Returns the value of this
Integeras a primitive int or throws an Exception if its not within int range. - IrrationalNumber<N extends PositiveInteger> - Interface in org.zfcj.math.numbers
-
An
IrrationalNumberis aRealNumberthat is not aRationalNumber. - isDouble() - Method in class org.zfcj.math.numbers.concrete.ConcreteNumber
- isDouble() - Method in interface org.zfcj.math.numbers.IrrationalNumber
- isDouble() - Method in class org.zfcj.math.numbers.NegativeInfinity
- isDouble() - Method in class org.zfcj.math.numbers.PositiveInfinity
- isDouble() - Method in interface org.zfcj.math.numbers.RealNumber
-
Determines if this
RealNumber's value has the precision of a primitive double - isInt() - Method in class org.zfcj.math.numbers.concrete.ConcreteNumber
- isInt() - Method in interface org.zfcj.math.numbers.RationalNumber
-
Returns true if this RationalNumber's numerator and denomiator are both in the range of primitive ints
- isLong() - Method in class org.zfcj.math.numbers.concrete.ConcreteNumber
- isLong() - Method in interface org.zfcj.math.numbers.RationalNumber
-
Returns true if this RationalNumber's numerator and denomiator are both in the range of primitive longs
L
- LeastCommonMultiple - Class in org.zfcj.math.numbers
-
A
Functionthat calculates the least common multiple of a set ofIntegers - LeastCommonMultiple() - Constructor for class org.zfcj.math.numbers.LeastCommonMultiple
- lessThan(Integer) - Method in interface org.zfcj.math.numbers.Integer
-
Returns true if this
Integeris less than the givenInteger, false otherwise - lessThan(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns true if this
RealNumberis less than the givenRealNumber, false otherwise - lessThanOrEqualTo(Integer) - Method in interface org.zfcj.math.numbers.Integer
-
Returns true if this
Integeris less than the givenInteger, false otherwise - lessThanOrEqualTo(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns true if this
RealNumberis less than or equal to the givenRealNumber, false otherwise - longDenominator() - Method in interface org.zfcj.math.numbers.Integer
- longDenominator() - Method in interface org.zfcj.math.numbers.RationalNumber
-
Returns the denominator as a primitive long or throws an Exception if its not in the range of primitive longs
- longNumerator() - Method in interface org.zfcj.math.numbers.Integer
- longNumerator() - Method in interface org.zfcj.math.numbers.RationalNumber
-
Returns the numerator as a primitive long or throws an Exception if its not in the range of primitive longs
- longValue() - Method in class org.zfcj.math.numbers.concrete.ConcreteNumber
- longValue() - Method in interface org.zfcj.math.numbers.Integer
-
Returns the value of this
Integeras a primitive long or throws an Exception if its not within the range of long ints.
M
- MAX_INT - Static variable in interface org.zfcj.math.numbers.PositiveInteger
- minus(Integer) - Method in interface org.zfcj.math.numbers.Integer
-
Returns the difference between this
Integerand the givenInteger - minus(RationalNumber) - Method in interface org.zfcj.math.numbers.RationalNumber
-
Returns the difference between this
RationalNumberand the givenRationalNumber - minus(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns the difference between this
RealNumberand the givenRealNumber - MINUS_ONE - Static variable in class org.zfcj.math.numbers.concrete.MinusOne
- minusOne() - Method in interface org.zfcj.math.numbers.PositiveInteger
-
Returns the
NaturalNumberthat is one less than thisPositiveInteger - MinusOne - Class in org.zfcj.math.numbers.concrete
-
The concrete number -1
- modulo(Integer) - Method in interface org.zfcj.math.numbers.Integer
-
Returns the remainder of dividing this
Integerby the givenInteger - modulo(NaturalNumber) - Method in interface org.zfcj.math.numbers.NaturalNumber
-
Returns the remainder of dividing this
NaturalNumberby the givenNaturalNumber - modulo(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns the remainder of dividing this
RealNumberby the givenRealNumber
N
- NaturalNumber - Interface in org.zfcj.math.numbers
-
A
NaturalNumberis a non-negativeInteger - NegativeInfinity - Class in org.zfcj.math.numbers
-
Represents an actualized negative infinity, denoted as -∞, a
RealNumberless than any otherRealNumber - Nine - Class in org.zfcj.math.numbers.concrete
-
The concrete number 9
- NINE - Static variable in class org.zfcj.math.numbers.concrete.Nine
- Nineteen - Class in org.zfcj.math.numbers.concrete
-
The concrete number 19
- NINETEEN - Static variable in class org.zfcj.math.numbers.concrete.Nineteen
- NMinus1<N extends ConcreteNumber> - Interface in org.zfcj.math.numbers.concrete
-
Represents an
Integerthat is 1 less than some other (integer)ConcreteNumber - NPlus1<N extends ConcreteNumber> - Interface in org.zfcj.math.numbers.concrete
-
Represents an
Integerthat is 1 more than some other (integer)ConcreteNumber - Number - Interface in org.zfcj.math.numbers
-
A number of some type, ie real number, integer, etc.
- numerator() - Method in interface org.zfcj.math.numbers.Integer
- numerator() - Method in interface org.zfcj.math.numbers.RationalNumber
-
Return the numerator
- NumericPrecisionException - Exception in org.zfcj.math.numbers
-
An
RuntimeExceptionthat indicates a loss of numeric precision occurred. - NumericPrecisionException() - Constructor for exception org.zfcj.math.numbers.NumericPrecisionException
- NumericPrecisionException(String) - Constructor for exception org.zfcj.math.numbers.NumericPrecisionException
O
- of(double) - Static method in interface org.zfcj.math.numbers.RealNumber
-
Creates a new
RealNumberfor the given double precision value - of(int) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
-
Returns the ConcreteNumber whose value is the given int
- of(int) - Static method in interface org.zfcj.math.numbers.Integer
-
Returns an
Integerwhose value is the givenint - of(int) - Static method in interface org.zfcj.math.numbers.NaturalNumber
-
Returns the
NaturalNumberthat corresponds to the given int i - of(int) - Static method in interface org.zfcj.math.numbers.PositiveInteger
-
Creates a new
PositiveIntegerwhose value is the givenint - of(int, int) - Static method in interface org.zfcj.math.numbers.RationalNumber
-
Creates a new
RationalNumberfrom the given int numerator and denominator - of(long) - Static method in interface org.zfcj.math.numbers.Integer
-
Returns an
Integerwhose value is the givenlong - of(long) - Static method in interface org.zfcj.math.numbers.NaturalNumber
-
Returns the
NaturalNumberthat corresponds to the given long l - of(long) - Static method in interface org.zfcj.math.numbers.PositiveInteger
-
Creates a new
PositiveIntegerwhose value is the givenlong - of(long, long) - Static method in interface org.zfcj.math.numbers.RationalNumber
-
Creates a new
RationalNumberfrom the given long numerator and denominator - of(BigDecimal) - Static method in interface org.zfcj.math.numbers.RealNumber
-
Creates a new
RealNumberfor the givenBigIntegervalue - of(BigInteger) - Static method in interface org.zfcj.math.numbers.Integer
-
Creates a new
Integerwhose value is the givenBigInteger - of(BigInteger) - Static method in interface org.zfcj.math.numbers.NaturalNumber
-
Returns the
NaturalNumberthat corresponds to the givenBigInteger - of(BigInteger) - Static method in interface org.zfcj.math.numbers.PositiveInteger
-
Creates a new
PositiveIntegerwhose value is the givenBigInteger - of(Integer, Integer) - Static method in interface org.zfcj.math.numbers.RationalNumber
-
Creates a new
RationalNumberfrom the given Integer numerator and denominator - ofNatural(int) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
-
Returns a
ConcreteNumberwhose value is equal to the givenintwhich must be greater than or equal to 0. - One - Class in org.zfcj.math.numbers.concrete
-
The concrete number 1
- ONE - Static variable in class org.zfcj.math.numbers.concrete.One
- org.zfcj.math.concretenumbers - module org.zfcj.math.concretenumbers
-
Provides integer singleton types and increased compile-time safety for numeric logic
- org.zfcj.math.numbers - package org.zfcj.math.numbers
-
Core numeric types for integer and real-valued arithmetic
- org.zfcj.math.numbers.concrete - package org.zfcj.math.numbers.concrete
-
Provides the auto-generated
ConcreteNumberabstract base class along with its singleton sub-typesZero,One,Two, etc and supporting types
P
- parse(String) - Static method in interface org.zfcj.math.numbers.Integer
-
Creates a new
Integerfrom the given string or throws anExceptionif the string does not represent aInteger. - parse(String) - Static method in interface org.zfcj.math.numbers.NaturalNumber
-
Creates a new
NaturalNumberfrom the given string - parse(String) - Static method in interface org.zfcj.math.numbers.PositiveInteger
-
Creates a new
PositiveIntegerfrom the given string or throws anExceptionif the string does not represent aPositiveInteger. - plus(Integer) - Method in interface org.zfcj.math.numbers.Integer
-
Returns the sum of this
Integerand the givenInteger - plus(NaturalNumber) - Method in interface org.zfcj.math.numbers.NaturalNumber
-
Returns the sum of this
NaturalNumberand the givenNaturalNumber - plus(PositiveInteger) - Method in interface org.zfcj.math.numbers.NaturalNumber
-
Returns the sum of this
NaturalNumberand the givenPositiveInteger - plus(PositiveInteger) - Method in interface org.zfcj.math.numbers.PositiveInteger
-
Returns the sum of this
PositiveIntegerand the givenPositiveInteger - plus(RationalNumber) - Method in interface org.zfcj.math.numbers.RationalNumber
-
Returns the sum of this
RationalNumberand the givenRationalNumber - plus(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns the sum of this
RealNumberand the givenRealNumber - PositiveInfinity - Class in org.zfcj.math.numbers
-
Represents an actualized positive infinity, denoted as +∞, a
RealNumbergreater than any otherRealNumber - PositiveInteger - Interface in org.zfcj.math.numbers
-
A
PositiveIntegeris aNaturalNumberthat isn'tZero. - pow(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns the product of exponentiating this
RealNumberby the givenRealNumber - precision() - Method in interface org.zfcj.math.numbers.IrrationalNumber
R
- RationalAddition - Class in org.zfcj.math.numbers
-
A
BinaryOperatorthat add twoRationalNumbers and returns the sum - RationalAddition() - Constructor for class org.zfcj.math.numbers.RationalAddition
- RationalMultiplication - Class in org.zfcj.math.numbers
-
A
BinaryOperatorthat multiplies twoRealNumbers and returns the product - RationalMultiplication() - Constructor for class org.zfcj.math.numbers.RationalMultiplication
- RationalNumber - Interface in org.zfcj.math.numbers
-
A
RationalNumber, also called a fraction, is aRealNumberthat can be defined as a ratio of twoIntegers. - RealAbsoluteValue - Class in org.zfcj.math.numbers
-
A
Functionthat calculates the absolute value of aRealNumber - RealAbsoluteValue() - Constructor for class org.zfcj.math.numbers.RealAbsoluteValue
- RealAddition - Class in org.zfcj.math.numbers
-
A
BinaryOperationthat returns the sum of twoRealNumbers - RealAddition() - Constructor for class org.zfcj.math.numbers.RealAddition
- RealDivision - Class in org.zfcj.math.numbers
-
A
BinaryOperatorthat divides twoRealNumbers and returns the quotient - RealDivision() - Constructor for class org.zfcj.math.numbers.RealDivision
- RealExponentiation - Class in org.zfcj.math.numbers
-
A
BinaryOperatorthat computes the exponentiation of oneRealNumberby another - RealExponentiation() - Constructor for class org.zfcj.math.numbers.RealExponentiation
- RealModulo - Class in org.zfcj.math.numbers
-
A
BinaryOperatorthat computes the modulo of oneRealNumberby another - RealModulo() - Constructor for class org.zfcj.math.numbers.RealModulo
- RealMultiplication - Class in org.zfcj.math.numbers
-
A
BinaryOperatorthat multiplies twoRealNumbers and returns their product - RealMultiplication() - Constructor for class org.zfcj.math.numbers.RealMultiplication
- RealNumber - Interface in org.zfcj.math.numbers
-
A
RealNumberis an element of the set ofRealNumbersℝ - RealSubtraction - Class in org.zfcj.math.numbers
-
A
BinaryOperatorthat subtracts oneRealNumberfrom another and returns their difference - RealSubtraction() - Constructor for class org.zfcj.math.numbers.RealSubtraction
- reduce() - Method in interface org.zfcj.math.numbers.RationalNumber
-
Returns a
RationalNumberthat is equivalent to thisRationalNumberreduced to its lowest terms
S
- setMaxError(double) - Static method in class org.zfcj.math.numbers.FloatingPointMath
- setRealMaxError(RealNumber) - Static method in class org.zfcj.math.numbers.FloatingPointMath
- Seven - Class in org.zfcj.math.numbers.concrete
-
The concrete number 7
- SEVEN - Static variable in class org.zfcj.math.numbers.concrete.Seven
- Seventeen - Class in org.zfcj.math.numbers.concrete
-
The concrete number 17
- SEVENTEEN - Static variable in class org.zfcj.math.numbers.concrete.Seventeen
- Six - Class in org.zfcj.math.numbers.concrete
-
The concrete number 6
- SIX - Static variable in class org.zfcj.math.numbers.concrete.Six
- Sixteen - Class in org.zfcj.math.numbers.concrete
-
The concrete number 16
- SIXTEEN - Static variable in class org.zfcj.math.numbers.concrete.Sixteen
T
- Ten - Class in org.zfcj.math.numbers.concrete
-
The concrete number 10
- TEN - Static variable in class org.zfcj.math.numbers.concrete.Ten
- Thirteen - Class in org.zfcj.math.numbers.concrete
-
The concrete number 13
- THIRTEEN - Static variable in class org.zfcj.math.numbers.concrete.Thirteen
- Three - Class in org.zfcj.math.numbers.concrete
-
The concrete number 3
- THREE - Static variable in class org.zfcj.math.numbers.concrete.Three
- times(Integer) - Method in interface org.zfcj.math.numbers.Integer
-
Returns the product of this
Integerand the givenInteger - times(NaturalNumber) - Method in interface org.zfcj.math.numbers.NaturalNumber
-
Returns the product of this
NaturalNumberand the givenNaturalNumber - times(PositiveInteger) - Method in interface org.zfcj.math.numbers.PositiveInteger
-
Returns the product of this
PositiveIntegerand the givenPositiveInteger - times(RationalNumber) - Method in interface org.zfcj.math.numbers.RationalNumber
-
Returns the product of multiplying this
RationalNumberby the givenRationalNumber - times(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
-
Returns the product of multiplying this
RealNumberby the givenRealNumber - toBinaryString(Integer) - Static method in interface org.zfcj.math.numbers.Integer
-
Returns a binary string representation of the given
Integer - toString() - Method in class org.zfcj.math.numbers.Aleph0
- toString() - Method in class org.zfcj.math.numbers.concrete.ConcreteNumber
- toString() - Method in class org.zfcj.math.numbers.GreaterThanAleph0
- toString() - Method in class org.zfcj.math.numbers.NegativeInfinity
- toString() - Method in class org.zfcj.math.numbers.PositiveInfinity
- truncate() - Method in interface org.zfcj.math.numbers.RealNumber
-
Truncates this
RealNumbertowardZERO - Twelve - Class in org.zfcj.math.numbers.concrete
-
The concrete number 12
- TWELVE - Static variable in class org.zfcj.math.numbers.concrete.Twelve
- Twenty - Class in org.zfcj.math.numbers.concrete
-
The concrete number 20
- TWENTY - Static variable in class org.zfcj.math.numbers.concrete.Twenty
- Two - Class in org.zfcj.math.numbers.concrete
-
The concrete number 2
- TWO - Static variable in class org.zfcj.math.numbers.concrete.Two
Z
- Zero - Class in org.zfcj.math.numbers.concrete
-
The concrete number 0
- ZERO - Static variable in class org.zfcj.math.numbers.concrete.Zero
ᐨ
- ᐨINFINITY - Static variable in class org.zfcj.math.numbers.NegativeInfinity
ᐩ
- ᐩINFINITY - Static variable in class org.zfcj.math.numbers.PositiveInfinity
All Classes and Interfaces|All Packages|Serialized Form