private void getPrimeFactors() { Divisibility divisibility = new Divisibility(); Numbers = divisibility.process(MyNumber); }
public Number getFactors(Number Number) { Divisibility divisibility = new Divisibility(); List<Number> Numbers = divisibility.process(Number.MyNumber); return Number; }
public void processByDivisibility() { Divisibility divisibility = new Divisibility(); Numbers = divisibility.process(MyNumber); isPrime = Numbers.Count != 0 ? false : true; }