public class BigDecimalWrapper extends AbstractWrapper<java.math.BigDecimal> implements NumberWrapper<java.math.BigDecimal>
BigDecimal class.basicClass, value| Constructor and Description |
|---|
BigDecimalWrapper() |
BigDecimalWrapper(java.math.BigDecimal value) |
| Modifier and Type | Method and Description |
|---|---|
<R,P,Q,TH extends java.lang.Throwable> |
accept(WrapperVisitor<R,P,Q,TH> visitor,
P p,
Q q)
Accept a visitor.
|
void |
decrement()
Decrements this object.
|
protected boolean |
doHasEqualValue(java.lang.Object otherValue) |
void |
increment()
Increments this object.
|
void |
set(java.lang.Number v)
Sets the value.
|
doGet, doGetCopy, doSet, get, getBasicClass, getCopy, getDefault, hasEqualValue, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitget, getBasicClass, getCopy, getDefault, hasEqualValue, isPrimitiveWrapperpublic BigDecimalWrapper()
public BigDecimalWrapper(java.math.BigDecimal value)
public void set(java.lang.Number v)
Wrapperset in interface NumberWrapper<java.math.BigDecimal>v - the valuepublic void increment()
NumberWrapperincrement in interface NumberWrapper<java.math.BigDecimal>public void decrement()
NumberWrapperdecrement in interface NumberWrapper<java.math.BigDecimal>protected boolean doHasEqualValue(java.lang.Object otherValue)
doHasEqualValue in class AbstractWrapper<java.math.BigDecimal>public <R,P,Q,TH extends java.lang.Throwable> R accept(WrapperVisitor<R,P,Q,TH> visitor, P p, Q q) throws TH extends java.lang.Throwable
Wrapperaccept in interface Wrapper<java.math.BigDecimal>R - The resultP - The first parameter typeQ - The second parameter typeTH - The error or exception typevisitor - the visitorp - the first parameterq - the second parameterTH - the error or exception typeTH extends java.lang.Throwable