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
-
Method Summary
Modifier and TypeMethodDescriptionaget()
Returns the wrappedObject
value.double
dget()
Returns the wrappeddouble
value.void
dispose()
This method can be used to recycle this instance.float
fget()
Returns the wrappedfloat
value.int
getLabel()
int
Returns theTypeId
of the wrapped value.int
iget()
Returns the wrapped value as anint
.long
lget()
Returns the wrappedlong
value.void
vget()
Returns the wrappedvoid
value.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:
getLabel
in 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:
dispose
in classAbruptCompletion
-
getTypeId
public int getTypeId()Returns theTypeId
of the wrapped value.- Returns:
- the
TypeId
of 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 wrappedlong
value. 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 wrappedfloat
value. 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 wrappeddouble
value. 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 wrappedObject
value. 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 wrappedvoid
value. This may only be invoked if the wrapped value is of typevoid
. In addition, this instance is disposed by invocation ofdispose()
.
-