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, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getStateByName
protected final AbstractState wrappedAbstractState
public AbstractSingleWrapperState(AbstractState wrappedAbstractState)
wrappedAbstractState
- an inner abstract statepublic AbstractState getWrappedState()
public java.util.List<AbstractState> getWrappedStates()
AbstractWrapperState
getWrappedStates
in class AbstractWrapperState
public Precision getPrecision()
AbstractState
Precision
used by the PrecisionAdjustment
.public AbstractSingleWrapperState copy()
AbstractState