Package | Description |
---|---|
eu.bandm.tools.util2 |
Ubiquitously needed auxiliary classes which need the
eu.bandm.tools.message package. |
Modifier and Type | Field and Description |
---|---|
static PrimeFactors |
PrimeFactors.ONE |
static PrimeFactors |
PrimeFactors.TWO |
Modifier and Type | Field and Description |
---|---|
static 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 Type | Method and Description |
---|---|
PrimeFactors |
PrimeFactors.denominator() |
PrimeFactors |
PrimeFactors.enumerator() |
static PrimeFactors |
PrimeFactors.get(BigInteger bi) |
static PrimeFactors |
PrimeFactors.get(int value) |
static PrimeFactors |
PrimeFactors.get(Rational rat) |
PrimeFactors |
PrimeFactors.max(PrimeFactors b)
Return an instance with the more positive exponents of both arguments.
|
PrimeFactors |
PrimeFactors.min(PrimeFactors b)
Return an instance with the more negative exponents of both arguments.
|
PrimeFactors |
PrimeFactors.minus(PrimeFactors b)
Subtract exponents, ie.
|
PrimeFactors |
PrimeFactors.modifiable()
Always makes a new copy, which is modifiable.
|
PrimeFactors |
PrimeFactors.plus(PrimeFactors b)
Add exponents, ie.
|
PrimeFactors |
PrimeFactors.unmodifiable()
Make a new unmodifiable version, iff not already unmodifiable.
|
Modifier and Type | Method and Description |
---|---|
int |
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 this
|
boolean |
PrimeFactors.equals(PrimeFactors b) |
PrimeFactors |
PrimeFactors.max(PrimeFactors b)
Return an instance with the more positive exponents of both arguments.
|
PrimeFactors |
PrimeFactors.min(PrimeFactors b)
Return an instance with the more negative exponents of both arguments.
|
PrimeFactors |
PrimeFactors.minus(PrimeFactors b)
Subtract exponents, ie.
|
PrimeFactors |
PrimeFactors.plus(PrimeFactors b)
Add exponents, ie.
|
see also the complete user documentation .