public class AbstractSingleWrapperState extends AbstractWrapperState
AbstractWrapperState wraps a single AbstractState
and delegates the precision getter to it.| Modifier and Type | Field and Description |
|---|---|
protected AbstractState |
wrappedAbstractState |
| Constructor and Description |
|---|
AbstractSingleWrapperState(AbstractState wrappedAbstractState)
Create a single wrapper abstract state around the given state.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractSingleWrapperState |
copy()
Creates a copy of itself.
|
Precision |
getPrecision()
Returns the
Precision used by the PrecisionAdjustment. |
AbstractState |
getWrappedState()
Returns the wrapped abstract state.
|
java.util.List<AbstractState> |
getWrappedStates()
Returns the wrapped abstract states.
|
equals, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetStateByNameprotected final AbstractState wrappedAbstractState
public AbstractSingleWrapperState(AbstractState wrappedAbstractState)
wrappedAbstractState - an inner abstract statepublic AbstractState getWrappedState()
public java.util.List<AbstractState> getWrappedStates()
AbstractWrapperStategetWrappedStates in class AbstractWrapperStatepublic Precision getPrecision()
AbstractStatePrecision used by the PrecisionAdjustment.public AbstractSingleWrapperState copy()
AbstractState