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 TypeInterfaceDescriptioninterfaceIrrationalNumber<N extends PositiveInteger>AnIrrationalNumberis aRealNumberthat is not aRationalNumber.Fields in org.zfcj.math.numbers declared as PositiveIntegerMethods in org.zfcj.math.numbers that return PositiveIntegerModifier and TypeMethodDescriptionstatic PositiveIntegerEuclideanAlgorithm.calculate(PositiveInteger... ints) Returns the greatest common divisor of the given PositiveIntegersstatic PositiveIntegerIntegerAddition.calculate(PositiveInteger i, PositiveInteger j) Adds the givenPositiveIntegers and returns the resultstatic PositiveIntegerIntegerMultiplication.calculate(PositiveInteger i, PositiveInteger j) Multiplies the givenPositiveIntegers and returns their productdefault PositiveIntegerPositiveInteger.divide(PositiveInteger n) Returns the quotient of dividing thisPositiveIntegerby the givenPositiveIntegerstatic PositiveIntegerPositiveInteger.of(int i) Creates a newPositiveIntegerwhose value is the givenintstatic PositiveIntegerPositiveInteger.of(long l) Creates a newPositiveIntegerwhose value is the givenlongstatic PositiveIntegerPositiveInteger.of(BigInteger bi) Creates a newPositiveIntegerwhose value is the givenBigIntegerstatic PositiveIntegerCreates a newPositiveIntegerfrom the given string or throws anExceptionif the string does not represent aPositiveInteger.default PositiveIntegerNaturalNumber.plus(PositiveInteger n) Returns the sum of thisNaturalNumberand the givenPositiveIntegerdefault PositiveIntegerPositiveInteger.plus(PositiveInteger n) Returns the sum of thisPositiveIntegerand the givenPositiveIntegerdefault PositiveIntegerPositiveInteger.times(PositiveInteger n) Returns the product of thisPositiveIntegerand the givenPositiveIntegerMethods in org.zfcj.math.numbers that return types with arguments of type PositiveIntegerModifier and TypeMethodDescriptiondefault Stream<PositiveInteger>PositiveInteger.count1ToN()Returns aStreamof allPositiveIntegers in the range fromOneto thisPositiveIntegerdefault Stream<PositiveInteger>PositiveInteger.count1ToNMinus1()Returns aStreamof allPositiveIntegers in the range fromOneto thisPositiveIntegerminus 1default Stream<PositiveInteger>PositiveInteger.countTo(PositiveInteger i) Returns aStreamof allPositiveIntegers in the range from thisPositiveIntegerto the givenPositiveIntegerMethods in org.zfcj.math.numbers with parameters of type PositiveIntegerModifier and TypeMethodDescriptionEuclideanAlgorithm.apply(PositiveInteger[] ints) static PositiveIntegerEuclideanAlgorithm.calculate(PositiveInteger... ints) Returns the greatest common divisor of the given PositiveIntegersstatic PositiveIntegerIntegerAddition.calculate(PositiveInteger i, PositiveInteger j) Adds the givenPositiveIntegers and returns the resultstatic PositiveIntegerIntegerMultiplication.calculate(PositiveInteger i, PositiveInteger j) Multiplies the givenPositiveIntegers and returns their productdefault Stream<PositiveInteger>PositiveInteger.countTo(PositiveInteger i) Returns aStreamof allPositiveIntegers in the range from thisPositiveIntegerto the givenPositiveIntegerdefault PositiveIntegerPositiveInteger.divide(PositiveInteger n) Returns the quotient of dividing thisPositiveIntegerby the givenPositiveIntegerdefault PositiveIntegerNaturalNumber.plus(PositiveInteger n) Returns the sum of thisNaturalNumberand the givenPositiveIntegerdefault PositiveIntegerPositiveInteger.plus(PositiveInteger n) Returns the sum of thisPositiveIntegerand the givenPositiveIntegerdefault PositiveIntegerPositiveInteger.times(PositiveInteger n) Returns the product of thisPositiveIntegerand the givenPositiveInteger -
Uses of PositiveInteger in org.zfcj.math.numbers.concrete
Subinterfaces of PositiveInteger in org.zfcj.math.numbers.concreteModifier and TypeInterfaceDescriptioninterfaceAnIntegerno less than 8interfaceAnIntegerno less than 18interfaceAnIntegerno less than 11interfaceAnIntegerno less than 15interfaceAnIntegerno less than 5interfaceAnIntegerno less than 4interfaceAnIntegerno less than 14interfaceAnIntegerno less than 9interfaceAnIntegerno less than 19interfaceAnIntegerno less than 1interfaceAnIntegerno less than 7interfaceAnIntegerno less than 17interfaceAnIntegerno less than 6interfaceAnIntegerno less than 16interfaceAnIntegerno less than 10interfaceAnIntegerno less than 13interfaceAnIntegerno less than 3interfaceAnIntegerno less than 12interfaceAnIntegerno less than 20interfaceAnIntegerno less than 2interfaceThe numberFouror the numberEightClasses in org.zfcj.math.numbers.concrete that implement PositiveIntegerModifier and TypeClassDescriptionfinal classThe concrete number 8final classThe concrete number 18final classThe concrete number 11final classThe concrete number 15final classThe concrete number 5final classThe concrete number 4final classThe concrete number 14final classThe concrete number 9final classThe concrete number 19final classThe concrete number 1final classThe concrete number 7final classThe concrete number 17final classThe concrete number 6final classThe concrete number 16final classThe concrete number 10final classThe concrete number 13final classThe concrete number 3final classThe concrete number 12final classThe concrete number 20final classThe concrete number 2