java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.grogra.xl.vmx.AbruptCompletion
de.grogra.xl.vmx.AbruptCompletion.Return
- All Implemented Interfaces:
Serializable
- Enclosing class:
AbruptCompletion
An abrupt completion due to a
return. The returned value
is wrapped.- Author:
- Ole Kniemeyer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.xl.vmx.AbruptCompletion
AbruptCompletion.Break, AbruptCompletion.Nonlocal, AbruptCompletion.Return, AbruptCompletion.Throw -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionaget()Returns the wrappedObjectvalue.doubledget()Returns the wrappeddoublevalue.voiddispose()This method can be used to recycle this instance.floatfget()Returns the wrappedfloatvalue.intgetLabel()intReturns theTypeIdof the wrapped value.intiget()Returns the wrapped value as anint.longlget()Returns the wrappedlongvalue.voidvget()Returns the wrappedvoidvalue.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
LABEL
public static final int LABEL- See Also:
-
-
Method Details
-
getLabel
public int getLabel()- Specified by:
getLabelin classAbruptCompletion
-
dispose
public void dispose()This method can be used to recycle this instance. If this instance is not needed any more, this method can be invoked in order to inform the VMXState that it may re-use this instance.- Specified by:
disposein classAbruptCompletion
-
getTypeId
public int getTypeId()Returns theTypeIdof the wrapped value.- Returns:
- the
TypeIdof the wrapped value
-
iget
public int iget()Returns the wrapped value as anint. This may only be invoked if the wrapped value is of typeboolean,byte,short,char, orint. In addition, this instance is disposed by invocation ofdispose().- Returns:
- the wrapped value
-
lget
public long lget()Returns the wrappedlongvalue. This may only be invoked if the wrapped value is of typelong. In addition, this instance is disposed by invocation ofdispose().- Returns:
- the wrapped value
-
fget
public float fget()Returns the wrappedfloatvalue. This may only be invoked if the wrapped value is of typefloat. In addition, this instance is disposed by invocation ofdispose().- Returns:
- the wrapped value
-
dget
public double dget()Returns the wrappeddoublevalue. This may only be invoked if the wrapped value is of typedouble. In addition, this instance is disposed by invocation ofdispose().- Returns:
- the wrapped value
-
aget
Returns the wrappedObjectvalue. This may only be invoked if the wrapped value is of typeObject. In addition, this instance is disposed by invocation ofdispose().- Returns:
- the wrapped value
-
vget
public void vget()Returns the wrappedvoidvalue. This may only be invoked if the wrapped value is of typevoid. In addition, this instance is disposed by invocation ofdispose().
-