Class ShortMath
java.lang.Object
org.checkerframework.common.value.util.NumberMath<Integer>
org.checkerframework.common.value.util.ShortMath
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbitwiseAnd(Number right) bitwiseXor(Number right) Returns the result of dividing thethisbyright.greaterThan(Number right) greaterThanEq(Number right) lessThanEq(Number right) notEqualTo(Number right) Returns the result ofthis % right.signedShiftRight(Number right) unsignedShiftRight(Number right) Methods inherited from class org.checkerframework.common.value.util.NumberMath
getNumberMath, isIntegralZero 
- 
Constructor Details
- 
ShortMath
public ShortMath(int i)  
 - 
 - 
Method Details
- 
plus
- Specified by:
 plusin classNumberMath<Integer>
 - 
minus
- Specified by:
 minusin classNumberMath<Integer>
 - 
times
- Specified by:
 timesin classNumberMath<Integer>
 - 
divide
Description copied from class:NumberMathReturns the result of dividing thethisbyright. Ifrightis zero and this is an integer division,nullis returned.- Specified by:
 dividein classNumberMath<Integer>
 - 
remainder
Description copied from class:NumberMathReturns the result ofthis % right. Ifrightis zero and this is an integer remainder,nullis returned.- Specified by:
 remainderin classNumberMath<Integer>
 - 
shiftLeft
- Specified by:
 shiftLeftin classNumberMath<Integer>
 - 
signedShiftRight
- Specified by:
 signedShiftRightin classNumberMath<Integer>
 - 
unsignedShiftRight
- Specified by:
 unsignedShiftRightin classNumberMath<Integer>
 - 
bitwiseAnd
- Specified by:
 bitwiseAndin classNumberMath<Integer>
 - 
bitwiseXor
- Specified by:
 bitwiseXorin classNumberMath<Integer>
 - 
bitwiseOr
- Specified by:
 bitwiseOrin classNumberMath<Integer>
 - 
unaryPlus
- Specified by:
 unaryPlusin classNumberMath<Integer>
 - 
unaryMinus
- Specified by:
 unaryMinusin classNumberMath<Integer>
 - 
bitwiseComplement
- Specified by:
 bitwiseComplementin classNumberMath<Integer>
 - 
equalTo
- Specified by:
 equalToin classNumberMath<Integer>
 - 
notEqualTo
- Specified by:
 notEqualToin classNumberMath<Integer>
 - 
greaterThan
- Specified by:
 greaterThanin classNumberMath<Integer>
 - 
greaterThanEq
- Specified by:
 greaterThanEqin classNumberMath<Integer>
 - 
lessThan
- Specified by:
 lessThanin classNumberMath<Integer>
 - 
lessThanEq
- Specified by:
 lessThanEqin classNumberMath<Integer>
 
 -