Uses of Interface
org.zfcj.math.numbers.PositiveInteger
Packages that use PositiveInteger
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 PositiveInteger in org.zfcj.math.numbers
Classes in org.zfcj.math.numbers with type parameters of type PositiveIntegerModifier and TypeInterfaceDescriptioninterface
IrrationalNumber<N extends PositiveInteger>
AnIrrationalNumber
is aRealNumber
that is not aRationalNumber
.Fields in org.zfcj.math.numbers declared as PositiveIntegerMethods in org.zfcj.math.numbers that return PositiveIntegerModifier and TypeMethodDescriptionstatic PositiveInteger
EuclideanAlgorithm.calculate
(PositiveInteger... ints) Returns the greatest common divisor of the given PositiveIntegersstatic PositiveInteger
IntegerAddition.calculate
(PositiveInteger i, PositiveInteger j) Adds the givenPositiveInteger
s and returns the resultstatic PositiveInteger
IntegerMultiplication.calculate
(PositiveInteger i, PositiveInteger j) Multiplies the givenPositiveInteger
s and returns their productdefault PositiveInteger
PositiveInteger.divide
(PositiveInteger n) Returns the quotient of dividing thisPositiveInteger
by the givenPositiveInteger
static PositiveInteger
PositiveInteger.of
(int i) Creates a newPositiveInteger
whose value is the givenint
static PositiveInteger
PositiveInteger.of
(long l) Creates a newPositiveInteger
whose value is the givenlong
static PositiveInteger
PositiveInteger.of
(BigInteger bi) Creates a newPositiveInteger
whose value is the givenBigInteger
static PositiveInteger
Creates a newPositiveInteger
from the given string or throws anException
if the string does not represent aPositiveInteger
.default PositiveInteger
NaturalNumber.plus
(PositiveInteger n) Returns the sum of thisNaturalNumber
and the givenPositiveInteger
default PositiveInteger
PositiveInteger.plus
(PositiveInteger n) Returns the sum of thisPositiveInteger
and the givenPositiveInteger
default PositiveInteger
PositiveInteger.times
(PositiveInteger n) Returns the product of thisPositiveInteger
and the givenPositiveInteger
Methods in org.zfcj.math.numbers that return types with arguments of type PositiveIntegerModifier and TypeMethodDescriptiondefault Stream<PositiveInteger>
PositiveInteger.count1ToN()
Returns aStream
of allPositiveInteger
s in the range fromOne
to thisPositiveInteger
default Stream<PositiveInteger>
PositiveInteger.count1ToNMinus1()
Returns aStream
of allPositiveInteger
s in the range fromOne
to thisPositiveInteger
minus 1default Stream<PositiveInteger>
PositiveInteger.countTo
(PositiveInteger i) Returns aStream
of allPositiveInteger
s in the range from thisPositiveInteger
to the givenPositiveInteger
Methods in org.zfcj.math.numbers with parameters of type PositiveIntegerModifier and TypeMethodDescriptionEuclideanAlgorithm.apply
(PositiveInteger[] ints) static PositiveInteger
EuclideanAlgorithm.calculate
(PositiveInteger... ints) Returns the greatest common divisor of the given PositiveIntegersstatic PositiveInteger
IntegerAddition.calculate
(PositiveInteger i, PositiveInteger j) Adds the givenPositiveInteger
s and returns the resultstatic PositiveInteger
IntegerMultiplication.calculate
(PositiveInteger i, PositiveInteger j) Multiplies the givenPositiveInteger
s and returns their productdefault Stream<PositiveInteger>
PositiveInteger.countTo
(PositiveInteger i) Returns aStream
of allPositiveInteger
s in the range from thisPositiveInteger
to the givenPositiveInteger
default PositiveInteger
PositiveInteger.divide
(PositiveInteger n) Returns the quotient of dividing thisPositiveInteger
by the givenPositiveInteger
default PositiveInteger
NaturalNumber.plus
(PositiveInteger n) Returns the sum of thisNaturalNumber
and the givenPositiveInteger
default PositiveInteger
PositiveInteger.plus
(PositiveInteger n) Returns the sum of thisPositiveInteger
and the givenPositiveInteger
default PositiveInteger
PositiveInteger.times
(PositiveInteger n) Returns the product of thisPositiveInteger
and the givenPositiveInteger
-
Uses of PositiveInteger in org.zfcj.math.numbers.concrete
Subinterfaces of PositiveInteger in org.zfcj.math.numbers.concreteModifier and TypeInterfaceDescriptioninterface
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 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
The numberFour
or the numberEight
Classes in org.zfcj.math.numbers.concrete that implement PositiveIntegerModifier and TypeClassDescriptionfinal 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 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 2