Package bitchanger.calculations
Class LongDivision
- java.lang.Object
-
- bitchanger.calculations.ConversionStep
-
- bitchanger.calculations.Calculation<Long>
-
- bitchanger.calculations.LongDivision
-
public class LongDivision extends Calculation<Long>
-
-
Constructor Summary
Constructors Constructor Description LongDivision(long divident, long divisor)LongDivision(long divident, long divisor, boolean calculationWasCanceled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Longcalculate(Long divident, Long divisor)longgetDivident()longgetDivisor()longgetQuotient()longgetRemainder()StringtoString()-
Methods inherited from class bitchanger.calculations.Calculation
calculationWasCanceled, getDigit, getResult, setCalculationWasCanceled, setDigit
-
Methods inherited from class bitchanger.calculations.ConversionStep
getDescription, hasDescription, isDescription, isNewStep, setDescription, setNewStep
-
-
-
-
Method Detail
-
calculate
protected Long calculate(Long divident, Long divisor)
- Specified by:
calculatein classCalculation<Long>
-
getDivident
public long getDivident()
-
getDivisor
public long getDivisor()
-
getQuotient
public long getQuotient()
-
getRemainder
public long getRemainder()
-
toString
public String toString()
- Overrides:
toStringin classConversionStep
-
-