Uses of Class
eu.bandm.tools.util2.PrimeFactors
Package
Description
Ubiquitously needed auxiliary classes which need the
eu.bandm.tools.message
package.-
Uses of PrimeFactors in eu.bandm.tools.util2
Modifier and TypeFieldDescriptionstatic final PrimeFactors
PrimeFactors.ONE
static final PrimeFactors
PrimeFactors.TWO
Modifier and TypeFieldDescriptionstatic Comparator<PrimeFactors>
PrimeFactors.byIntValue
static Comparator<PrimeFactors>
PrimeFactors.byRatValue
protected static Map<Integer,
PrimeFactors> PrimeFactors.cache_int
protected static Map<Rational,
PrimeFactors> PrimeFactors.cache_rat
Modifier and TypeMethodDescriptionPrimeFactors.denominator()
static PrimeFactors
PrimeFactors.get
(int value) static PrimeFactors
static PrimeFactors
PrimeFactors.get
(BigInteger bi) PrimeFactors.max
(PrimeFactors b) Return an instance with the more positive exponents of both arguments.PrimeFactors.min
(PrimeFactors b) Return an instance with the more negative exponents of both arguments.PrimeFactors.minus
(PrimeFactors b) Subtract exponents, ie.PrimeFactors.modifiable()
Always makes a new copy, which is modifiable.PrimeFactors.numerator()
PrimeFactors.plus
(PrimeFactors b) Add exponents, ie.PrimeFactors.unmodifiable()
Make a new unmodifiable version, iff not already unmodifiable.PrimeFactors.with
(int base, int exp) Return an instance with the base and ecponent overwritten.Modifier and TypeMethodDescriptionint
PrimeFactors.cmp
(PrimeFactors other) Returns -1/0/+1 for inclusion or equality, negative exponents are smaller than positives, and returns a different int (here: -100) iff not comparable.boolean
PrimeFactors.containsAsFactor
(PrimeFactors b) Returns whether arg is a factor of thisboolean
PrimeFactors.equals
(PrimeFactors b) PrimeFactors.max
(PrimeFactors b) Return an instance with the more positive exponents of both arguments.PrimeFactors.min
(PrimeFactors b) Return an instance with the more negative exponents of both arguments.PrimeFactors.minus
(PrimeFactors b) Subtract exponents, ie.PrimeFactors.plus
(PrimeFactors b) Add exponents, ie.