Package bitchanger.calculations
Class TwosComplement
- java.lang.Object
-
- bitchanger.calculations.ConversionStep
-
- bitchanger.calculations.Calculation<Long>
-
- bitchanger.calculations.TwosComplement
-
public class TwosComplement extends Calculation<Long>
-
-
Constructor Summary
Constructors Constructor Description TwosComplement(Long value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Long
calculate(Long value, Long unused)
long
getValue()
-
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, toString
-
-