Index

A B C D E F G H I L M N O P R S T Z   
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 than FloatingPointMath#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 RealNumber is almost equal to this RealNumber where 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 Integer that is at least some other Integer
AtLeastEight - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 8
AtLeastEighteen - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 18
AtLeastEleven - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 11
AtLeastFifteen - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 15
AtLeastFive - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 5
AtLeastFour - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 4
AtLeastFourteen - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 14
AtLeastMinusOne - Interface in org.zfcj.math.numbers.concrete
An Integer no less than -1
AtLeastNine - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 9
AtLeastNineteen - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 19
AtLeastOne - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 1
AtLeastSeven - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 7
AtLeastSeventeen - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 17
AtLeastSix - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 6
AtLeastSixteen - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 16
AtLeastTen - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 10
AtLeastThirteen - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 13
AtLeastThree - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 3
AtLeastTwelve - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 12
AtLeastTwenty - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 20
AtLeastTwo - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 2
AtLeastZero - Interface in org.zfcj.math.numbers.concrete
An Integer no less than 0
AtMost<N extends Integer> - Interface in org.zfcj.math.numbers.concrete
An Integer that is at most some other Integer
AtMostEight - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 8
AtMostEighteen - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 18
AtMostEleven - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 11
AtMostFifteen - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 15
AtMostFive - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 5
AtMostFour - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 4
AtMostFourteen - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 14
AtMostMinusOne - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than -1
AtMostNine - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 9
AtMostNineteen - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 19
AtMostOne - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 1
AtMostSeven - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 7
AtMostSeventeen - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 17
AtMostSix - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 6
AtMostSixteen - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 16
AtMostTen - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 10
AtMostThirteen - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 13
AtMostThree - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 3
AtMostTwelve - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 12
AtMostTwenty - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 20
AtMostTwo - Interface in org.zfcj.math.numbers.concrete
An Integer no greater than 2
AtMostZero - Interface in org.zfcj.math.numbers.concrete
An Integer no 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 a BigDecimal
bigIntegerValue() - Method in class org.zfcj.math.numbers.concrete.ConcreteNumber
 
bigIntegerValue() - Method in interface org.zfcj.math.numbers.Integer
Returns the value of this Integer as a BigInteger

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 RationalNumber summands
calculate(RationalNumber, RationalNumber) - Static method in class org.zfcj.math.numbers.RationalMultiplication
Calculates the product of multiplication of the given RationalNumber factors
calculate(RealNumber) - Static method in class org.zfcj.math.numbers.RealAbsoluteValue
Calculates the RealNumber that is the absolute value of the given RealNumber
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 RealNumber base 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 RealNumber factors
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 CardinalNumber is 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 ConcreteNumber is an Integer whose 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 MathContext used for some BigDecimal calculations
count0ToN() - Method in interface org.zfcj.math.numbers.NaturalNumber
Returns a Stream of all NaturalNumbers in the range from Zero to this NaturalNumber
count0ToN(N) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
Returns a stream of ConcreteNumbers from ZERO to N
count0ToNMinus1() - Method in interface org.zfcj.math.numbers.NaturalNumber
Returns a Stream of all NaturalNumbers in the range from Zero to this NaturalNumber minus 1
count0ToNMinus1(N) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
Returns a stream of ConcreteNumbers from ZERO to N-1
count1ToN() - Method in interface org.zfcj.math.numbers.PositiveInteger
Returns a Stream of all PositiveIntegers in the range from One to this PositiveInteger
count1ToN(N) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
Returns a stream of ConcreteNumbers from ONE to N
count1ToNMinus1() - Method in interface org.zfcj.math.numbers.PositiveInteger
Returns a Stream of all PositiveIntegers in the range from One to this PositiveInteger minus 1
CountableNumber - Interface in org.zfcj.math.numbers
A CountableNumber is a CardinalNumber that is either a NaturalNumber or Aleph0
countMToN(M, N) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
Returns a stream of ConcreteNumbers from M to N
countNMinus1To0() - Method in interface org.zfcj.math.numbers.PositiveInteger
Returns a Stream of all NaturalNumbers in the range from this NaturalNumber minus 1 to Zero
countNTo0() - Method in interface org.zfcj.math.numbers.NaturalNumber
Returns a Stream of all NaturalNumbers in the range from this NaturalNumber to Zero
countNTo1() - Method in interface org.zfcj.math.numbers.NaturalNumber
Returns a Stream of all NaturalNumbers in the range from this NaturalNumber to One
countTo(Integer) - Method in interface org.zfcj.math.numbers.Integer
Returns a Stream consisting of all Integers in the range from this Integer to the given Integer
countTo(NaturalNumber) - Method in interface org.zfcj.math.numbers.NaturalNumber
Returns a Stream of all NaturalNumbers in the range from this NaturalNumber to the given NaturalNumber
countTo(PositiveInteger) - Method in interface org.zfcj.math.numbers.PositiveInteger
Returns a Stream of all PositiveIntegers in the range from this PositiveInteger to the given PositiveInteger

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 Integer by the given Integer
divide(NaturalNumber) - Method in interface org.zfcj.math.numbers.NaturalNumber
Returns the product of this NaturalNumber and the given NaturalNumber
divide(PositiveInteger) - Method in interface org.zfcj.math.numbers.PositiveInteger
Returns the quotient of dividing this PositiveInteger by the given PositiveInteger
dividedBy(RationalNumber) - Method in interface org.zfcj.math.numbers.RationalNumber
Returns the quotient of dividing this RationalNumber by the given RationalNumber
dividedBy(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
Returns the quotient of dividing this RealNumber by the given RealNumber
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 Four or the number Eight
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 Integer is greater than the given Integer, false otherwise
greaterThan(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
Returns true if this RealNumber is greater than the given RealNumber, 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 Integer is greater than the given Integer, false otherwise
greaterThanOrEqualTo(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
Returns true if this RealNumber is greater than or equal to the given RealNumber, 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 ConcreteNumber subtype whose value equals the given int
hasType(long) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
Determines if there is a ConcreteNumber subtype 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 BinaryOperator that adds two Integers and returns the sum
IntegerAddition() - Constructor for class org.zfcj.math.numbers.IntegerAddition
 
IntegerDivision - Class in org.zfcj.math.numbers
A BinaryOperator that divides one Integers by another and returns their quotient
IntegerDivision() - Constructor for class org.zfcj.math.numbers.IntegerDivision
 
IntegerModulo - Class in org.zfcj.math.numbers
A BinaryOperator that divides one Integers by another and returns the remainder
IntegerModulo() - Constructor for class org.zfcj.math.numbers.IntegerModulo
 
IntegerMultiplication - Class in org.zfcj.math.numbers
A BinaryOperator that multiplies two Integers and returns their product
IntegerMultiplication() - Constructor for class org.zfcj.math.numbers.IntegerMultiplication
 
IntegerSubtraction - Class in org.zfcj.math.numbers
A BinaryOperator that subtracts one Integer from 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 Integer as a primitive int or throws an Exception if its not within int range.
IrrationalNumber<N extends PositiveInteger> - Interface in org.zfcj.math.numbers
An IrrationalNumber is a RealNumber that is not a RationalNumber.
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 Function that calculates the least common multiple of a set of Integers
LeastCommonMultiple() - Constructor for class org.zfcj.math.numbers.LeastCommonMultiple
 
lessThan(Integer) - Method in interface org.zfcj.math.numbers.Integer
Returns true if this Integer is less than the given Integer, false otherwise
lessThan(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
Returns true if this RealNumber is less than the given RealNumber, false otherwise
lessThanOrEqualTo(Integer) - Method in interface org.zfcj.math.numbers.Integer
Returns true if this Integer is less than the given Integer, false otherwise
lessThanOrEqualTo(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
Returns true if this RealNumber is less than or equal to the given RealNumber, 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 Integer as 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 Integer and the given Integer
minus(RationalNumber) - Method in interface org.zfcj.math.numbers.RationalNumber
Returns the difference between this RationalNumber and the given RationalNumber
minus(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
Returns the difference between this RealNumber and the given RealNumber
MINUS_ONE - Static variable in class org.zfcj.math.numbers.concrete.MinusOne
 
minusOne() - Method in interface org.zfcj.math.numbers.PositiveInteger
Returns the NaturalNumber that is one less than this PositiveInteger
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 Integer by the given Integer
modulo(NaturalNumber) - Method in interface org.zfcj.math.numbers.NaturalNumber
Returns the remainder of dividing this NaturalNumber by the given NaturalNumber
modulo(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
Returns the remainder of dividing this RealNumber by the given RealNumber

N

NaturalNumber - Interface in org.zfcj.math.numbers
A NaturalNumber is a non-negative Integer
NegativeInfinity - Class in org.zfcj.math.numbers
Represents an actualized negative infinity, denoted as -∞, a RealNumber less than any other RealNumber
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 Integer that is 1 less than some other (integer) ConcreteNumber
NPlus1<N extends ConcreteNumber> - Interface in org.zfcj.math.numbers.concrete
Represents an Integer that 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 RuntimeException that 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 RealNumber for 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 Integer whose value is the given int
of(int) - Static method in interface org.zfcj.math.numbers.NaturalNumber
Returns the NaturalNumber that corresponds to the given int i
of(int) - Static method in interface org.zfcj.math.numbers.PositiveInteger
Creates a new PositiveInteger whose value is the given int
of(int, int) - Static method in interface org.zfcj.math.numbers.RationalNumber
Creates a new RationalNumber from the given int numerator and denominator
of(long) - Static method in interface org.zfcj.math.numbers.Integer
Returns an Integer whose value is the given long
of(long) - Static method in interface org.zfcj.math.numbers.NaturalNumber
Returns the NaturalNumber that corresponds to the given long l
of(long) - Static method in interface org.zfcj.math.numbers.PositiveInteger
Creates a new PositiveInteger whose value is the given long
of(long, long) - Static method in interface org.zfcj.math.numbers.RationalNumber
Creates a new RationalNumber from the given long numerator and denominator
of(BigDecimal) - Static method in interface org.zfcj.math.numbers.RealNumber
Creates a new RealNumber for the given BigInteger value
of(BigInteger) - Static method in interface org.zfcj.math.numbers.Integer
Creates a new Integer whose value is the given BigInteger
of(BigInteger) - Static method in interface org.zfcj.math.numbers.NaturalNumber
Returns the NaturalNumber that corresponds to the given BigInteger
of(BigInteger) - Static method in interface org.zfcj.math.numbers.PositiveInteger
Creates a new PositiveInteger whose value is the given BigInteger
of(Integer, Integer) - Static method in interface org.zfcj.math.numbers.RationalNumber
Creates a new RationalNumber from the given Integer numerator and denominator
ofNatural(int) - Static method in class org.zfcj.math.numbers.concrete.ConcreteNumber
Returns a ConcreteNumber whose value is equal to the given int which 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 ConcreteNumber abstract base class along with its singleton sub-types Zero, One, Two, etc and supporting types

P

parse(String) - Static method in interface org.zfcj.math.numbers.Integer
Creates a new Integer from the given string or throws an Exception if the string does not represent a Integer.
parse(String) - Static method in interface org.zfcj.math.numbers.NaturalNumber
Creates a new NaturalNumber from the given string
parse(String) - Static method in interface org.zfcj.math.numbers.PositiveInteger
Creates a new PositiveInteger from the given string or throws an Exception if the string does not represent a PositiveInteger.
plus(Integer) - Method in interface org.zfcj.math.numbers.Integer
Returns the sum of this Integer and the given Integer
plus(NaturalNumber) - Method in interface org.zfcj.math.numbers.NaturalNumber
Returns the sum of this NaturalNumber and the given NaturalNumber
plus(PositiveInteger) - Method in interface org.zfcj.math.numbers.NaturalNumber
Returns the sum of this NaturalNumber and the given PositiveInteger
plus(PositiveInteger) - Method in interface org.zfcj.math.numbers.PositiveInteger
Returns the sum of this PositiveInteger and the given PositiveInteger
plus(RationalNumber) - Method in interface org.zfcj.math.numbers.RationalNumber
Returns the sum of this RationalNumber and the given RationalNumber
plus(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
Returns the sum of this RealNumber and the given RealNumber
PositiveInfinity - Class in org.zfcj.math.numbers
Represents an actualized positive infinity, denoted as +∞, a RealNumber greater than any other RealNumber
PositiveInteger - Interface in org.zfcj.math.numbers
A PositiveInteger is a NaturalNumber that isn't Zero.
pow(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
Returns the product of exponentiating this RealNumber by the given RealNumber
precision() - Method in interface org.zfcj.math.numbers.IrrationalNumber
 

R

RationalAddition - Class in org.zfcj.math.numbers
A BinaryOperator that add two RationalNumbers and returns the sum
RationalAddition() - Constructor for class org.zfcj.math.numbers.RationalAddition
 
RationalMultiplication - Class in org.zfcj.math.numbers
A BinaryOperator that multiplies two RealNumbers 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 a RealNumber that can be defined as a ratio of two Integers.
RealAbsoluteValue - Class in org.zfcj.math.numbers
A Function that calculates the absolute value of a RealNumber
RealAbsoluteValue() - Constructor for class org.zfcj.math.numbers.RealAbsoluteValue
 
RealAddition - Class in org.zfcj.math.numbers
A BinaryOperation that returns the sum of two RealNumbers
RealAddition() - Constructor for class org.zfcj.math.numbers.RealAddition
 
RealDivision - Class in org.zfcj.math.numbers
A BinaryOperator that divides two RealNumbers and returns the quotient
RealDivision() - Constructor for class org.zfcj.math.numbers.RealDivision
 
RealExponentiation - Class in org.zfcj.math.numbers
A BinaryOperator that computes the exponentiation of one RealNumber by another
RealExponentiation() - Constructor for class org.zfcj.math.numbers.RealExponentiation
 
RealModulo - Class in org.zfcj.math.numbers
A BinaryOperator that computes the modulo of one RealNumber by another
RealModulo() - Constructor for class org.zfcj.math.numbers.RealModulo
 
RealMultiplication - Class in org.zfcj.math.numbers
A BinaryOperator that multiplies two RealNumbers and returns their product
RealMultiplication() - Constructor for class org.zfcj.math.numbers.RealMultiplication
 
RealNumber - Interface in org.zfcj.math.numbers
A RealNumber is an element of the set of RealNumbers
RealSubtraction - Class in org.zfcj.math.numbers
A BinaryOperator that subtracts one RealNumber from 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 RationalNumber that is equivalent to this RationalNumber reduced 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 Integer and the given Integer
times(NaturalNumber) - Method in interface org.zfcj.math.numbers.NaturalNumber
Returns the product of this NaturalNumber and the given NaturalNumber
times(PositiveInteger) - Method in interface org.zfcj.math.numbers.PositiveInteger
Returns the product of this PositiveInteger and the given PositiveInteger
times(RationalNumber) - Method in interface org.zfcj.math.numbers.RationalNumber
Returns the product of multiplying this RationalNumber by the given RationalNumber
times(RealNumber) - Method in interface org.zfcj.math.numbers.RealNumber
Returns the product of multiplying this RealNumber by the given RealNumber
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 RealNumber toward ZERO
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
 
A B C D E F G H I L M N O P R S T Z   
All Classes and Interfaces|All Packages|Serialized Form