public class PrimeFactors_bigInteger extends Object
Modifier and Type | Field and Description |
---|---|
protected static Map<BigInteger,Map<BigInteger,Integer>> |
cache |
protected static Map<BigInteger,Integer> |
factors |
static BigInteger |
THREE |
static BigInteger |
TWO |
protected static BigInteger |
value |
Modifier and Type | Method and Description |
---|---|
static Map<BigInteger,Integer> |
factors(BigInteger val) |
static boolean |
onlyFactor(BigInteger val,
BigInteger f) |
static boolean |
onlyFactor(Map<BigInteger,Integer> fs,
BigInteger f) |
protected static void |
test(BigInteger factor) |
public static final BigInteger TWO
public static final BigInteger THREE
protected static Map<BigInteger,Map<BigInteger,Integer>> cache
protected static BigInteger value
protected static Map<BigInteger,Integer> factors
public static Map<BigInteger,Integer> factors(BigInteger val)
protected static void test(BigInteger factor)
public static boolean onlyFactor(Map<BigInteger,Integer> fs, BigInteger f)
public static boolean onlyFactor(BigInteger val, BigInteger f)
see also the complete user documentation .