Uses of Interface
org.zfcj.math.numbers.Integer
Packages that use Integer
Package
Description
Core numeric types for integer and
real-valued arithmetic
Provides the auto-generated
ConcreteNumber
abstract
base class along with its singleton sub-types Zero
,
One
, Two
, etc and supporting types-
Uses of Integer in org.zfcj.math.numbers
Subinterfaces of Integer in org.zfcj.math.numbersModifier and TypeInterfaceDescriptioninterface
ANaturalNumber
is a non-negativeInteger
interface
APositiveInteger
is aNaturalNumber
that isn'tZero
.Methods in org.zfcj.math.numbers that return IntegerModifier and TypeMethodDescriptionEuclideanAlgorithm.apply
(PositiveInteger[] ints) static Integer
Adds the givenInteger
s and returns their sumstatic Integer
Calculates the remainder of dividing the given dividend by the given divisorstatic Integer
Multiplies the givenInteger
s and returns their productstatic Integer
Subtracts the given sutrahend from the given minued returning their differencestatic Integer
LeastCommonMultiple.calculate
(int... ints) Returns the least common multiple of the given integersstatic Integer
LeastCommonMultiple.calculate
(long... longs) Returns the least common multiple of the given longsstatic Integer
LeastCommonMultiple.calculate
(BigInteger... bigs) Returns the least common multiple of the given integersstatic Integer
Returns the least common multiple of the given integersRationalNumber.denominator()
Return the denominatordefault Integer
Returns the quotient of dividing thisInteger
by the givenInteger
default Integer
Returns the difference between thisInteger
and the givenInteger
default Integer
Returns the remainder of dividing thisInteger
by the givenInteger
default Integer
Integer.numerator()
RationalNumber.numerator()
Return the numeratorstatic Integer
Integer.of
(int i) Returns anInteger
whose value is the givenint
static Integer
Integer.of
(long i) Returns anInteger
whose value is the givenlong
static Integer
Integer.of
(BigInteger value) Creates a newInteger
whose value is the givenBigInteger
static Integer
Creates a newInteger
from the given string or throws anException
if the string does not represent aInteger
.default Integer
Returns the sum of thisInteger
and the givenInteger
default Integer
Returns the product of thisInteger
and the givenInteger
Methods in org.zfcj.math.numbers that return types with arguments of type IntegerModifier and TypeMethodDescriptionReturns aStream
consisting of allInteger
s in the range from thisInteger
to the givenInteger
Methods in org.zfcj.math.numbers with parameters of type IntegerModifier and TypeMethodDescriptionstatic Integer
Adds the givenInteger
s and returns their sumstatic Integer
Calculates the remainder of dividing the given dividend by the given divisorstatic Integer
Multiplies the givenInteger
s and returns their productstatic Integer
Subtracts the given sutrahend from the given minued returning their differencestatic Integer
Returns the least common multiple of the given integersReturns aStream
consisting of allInteger
s in the range from thisInteger
to the givenInteger
default Integer
Returns the quotient of dividing thisInteger
by the givenInteger
static boolean
Returns true if the givenInteger
s are equal, false otherwisedefault boolean
Integer.greaterThan
(Integer i) Returns true if thisInteger
is greater than the givenInteger
, false otherwisedefault boolean
Integer.greaterThanOrEqualTo
(Integer i) Returns true if thisInteger
is greater than the givenInteger
, false otherwisedefault boolean
Returns true if thisInteger
is less than the givenInteger
, false otherwisedefault boolean
Integer.lessThanOrEqualTo
(Integer i) Returns true if thisInteger
is less than the givenInteger
, false otherwisedefault Integer
Returns the difference between thisInteger
and the givenInteger
default Integer
Returns the remainder of dividing thisInteger
by the givenInteger
static RationalNumber
Creates a newRationalNumber
from the given Integer numerator and denominatordefault Integer
Returns the sum of thisInteger
and the givenInteger
default Integer
Returns the product of thisInteger
and the givenInteger
static String
Integer.toBinaryString
(Integer i) Returns a binary string representation of the givenInteger
-
Uses of Integer in org.zfcj.math.numbers.concrete
Classes in org.zfcj.math.numbers.concrete with type parameters of type IntegerModifier and TypeInterfaceDescriptioninterface
AnInteger
that is at least some otherInteger
interface
AnInteger
that is at most some otherInteger
Subinterfaces of Integer in org.zfcj.math.numbers.concreteModifier and TypeInterfaceDescriptioninterface
AnInteger
that is at least some otherInteger
interface
AnInteger
no less than 8interface
AnInteger
no less than 18interface
AnInteger
no less than 11interface
AnInteger
no less than 15interface
AnInteger
no less than 5interface
AnInteger
no less than 4interface
AnInteger
no less than 14interface
AnInteger
no less than -1interface
AnInteger
no less than 9interface
AnInteger
no less than 19interface
AnInteger
no less than 1interface
AnInteger
no less than 7interface
AnInteger
no less than 17interface
AnInteger
no less than 6interface
AnInteger
no less than 16interface
AnInteger
no less than 10interface
AnInteger
no less than 13interface
AnInteger
no less than 3interface
AnInteger
no less than 12interface
AnInteger
no less than 20interface
AnInteger
no less than 2interface
AnInteger
no less than 0interface
AnInteger
that is at most some otherInteger
interface
AnInteger
no greater than 8interface
AnInteger
no greater than 18interface
AnInteger
no greater than 11interface
AnInteger
no greater than 15interface
AnInteger
no greater than 5interface
AnInteger
no greater than 4interface
AnInteger
no greater than 14interface
AnInteger
no greater than -1interface
AnInteger
no greater than 9interface
AnInteger
no greater than 19interface
AnInteger
no greater than 1interface
AnInteger
no greater than 7interface
AnInteger
no greater than 17interface
AnInteger
no greater than 6interface
AnInteger
no greater than 16interface
AnInteger
no greater than 10interface
AnInteger
no greater than 13interface
AnInteger
no greater than 3interface
AnInteger
no greater than 12interface
AnInteger
no greater than 20interface
AnInteger
no greater than 2interface
AnInteger
no greater than 0interface
The numberFour
or the numberEight
interface
NMinus1<N extends ConcreteNumber>
Represents anInteger
that is 1 less than some other (integer)ConcreteNumber
interface
NPlus1<N extends ConcreteNumber>
Represents anInteger
that is 1 more than some other (integer)ConcreteNumber
Classes in org.zfcj.math.numbers.concrete that implement IntegerModifier and TypeClassDescriptionclass
AConcreteNumber
is anInteger
whose value is always the same specific integer and is identified by its type name.final class
The concrete number 8final class
The concrete number 18final class
The concrete number 11final class
The concrete number 15final class
The concrete number 5final class
The concrete number 4final class
The concrete number 14final class
The concrete number -1final class
The concrete number 9final class
The concrete number 19final class
The concrete number 1final class
The concrete number 7final class
The concrete number 17final class
The concrete number 6final class
The concrete number 16final class
The concrete number 10final class
The concrete number 13final class
The concrete number 3final class
The concrete number 12final class
The concrete number 20final class
The concrete number 2final class
The concrete number 0