VALUE - this value type (used to facilitate operation chaining)public interface MutableIntegerValue<VALUE extends MutableIntegerValue<VALUE>>
int property value| Modifier and Type | Method and Description |
|---|---|
int |
intPostDecrement()
Decrement the scalar value of this object then return the original value
prior to decrementing
|
int |
intPostIncrement()
Increment the scalar value of this object then return the original value
prior to incrementing
|
VALUE |
setScalar(int aValue)
Set this property to the specified
int value and answer this
object (facilitates chaining) |
int intPostDecrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectint intPostIncrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
UnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the new value was incommensurate with this object's
specificationArithmeticException - the new numeric value was incompatible with with algebraic
interpretation of this objectVALUE setScalar(int aValue) throws UnsupportedOperationException, IllegalArgumentException, ArithmeticException
int value and answer this
object (facilitates chaining)aValue - an int valueUnsupportedOperationException - if this object's value cannot be changedIllegalArgumentException - if the specified value was incommensurate with this object's
specificationArithmeticException - the numeric value provided was incompatible with with algebraic
interpretation of this objectCopyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.