Uses of Interface
org.midheaven.math.Rational
Packages that use Rational
-
Uses of Rational in org.midheaven.io
Methods in org.midheaven.io that return RationalModifier and TypeMethodDescriptionByteContentSize.in(ByteContentSizeUnit targetUnit) Performs in.Methods in org.midheaven.io with parameters of type RationalModifier and TypeMethodDescriptionstatic ByteContentSizeByteContentSize.of(Rational size, ByteContentSizeUnit unit) Creates an instance from the provided value. -
Uses of Rational in org.midheaven.math
Fields in org.midheaven.math declared as RationalModifier and TypeFieldDescriptionstatic final RationalRational.NEGATIVE_ONEstatic final RationalRational.ONEstatic final RationalRational.PIstatic final RationalRational.TENstatic final RationalRational.ZEROMethods in org.midheaven.math that return RationalModifier and TypeMethodDescriptiondefault RationalRational.abs()Rational.ceil()Rational.cube()Rational.decrement()Rational.floor()static RationalRational.increment()default RationalRational.minus(long other) default RationalRationalRandomGenerator.next()Performs next.protected RationalPerforms next.protected RationalPerforms next.static RationalRational.of(long numerator) static RationalRational.of(long numerator, long denominator) static RationalRational.of(BigDecimal decimal) static RationalRational.of(BigInteger numerator) static RationalRational.of(BigInteger numerator, BigInteger denominator) default RationalInt.over(int other) default RationalInt.over(long other) default Rationaldefault RationalRational.over(long other) default Rationalstatic Rationaldefault RationalRational.plus(long other) default RationalRational.raisedTo(int exponent) Performs ratio.Rational.square()default RationalRational.times(long other) Int.toRational()Methods in org.midheaven.math that return types with arguments of type RationalModifier and TypeMethodDescriptionstatic Arithmetic<Int, Rational> Int.arithmetic()static Arithmetic<Integer, Rational> Numbers.Integers.arithmetic()Performs arithmetic.static Arithmetic<Long, Rational> Numbers.Longs.arithmetic()Performs arithmetic.static Arithmetic<Rational, Rational> Rational.arithmetic()static Arithmetic<Rational, Rational> Rational.arithmetic()Methods in org.midheaven.math with parameters of type Rational