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 Long
calculate(Long divident, Long divisor)
long
getDivident()
long
getDivisor()
long
getQuotient()
long
getRemainder()
String
toString()
-
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:
calculate
in classCalculation<Long>
-
getDivident
public long getDivident()
-
getDivisor
public long getDivisor()
-
getQuotient
public long getQuotient()
-
getRemainder
public long getRemainder()
-
toString
public String toString()
- Overrides:
toString
in classConversionStep
-
-