nl.tudelft.simulation.dsol.interpreter.operations
Class ReturnOperation
java.lang.Object
nl.tudelft.simulation.dsol.interpreter.Operation
nl.tudelft.simulation.dsol.interpreter.operations.ReturnOperation
- Direct Known Subclasses:
- ARETURN, DRETURN, FRETURN, IRETURN, LRETURN, RETURN
public abstract class ReturnOperation
- extends Operation
The ReturnOperation is an abstract class for all operations which do return
any value.
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
- Since:
- 1.4
- Version:
- $Revision: 1.1 $ $Date: 2007/01/06 13:25:08 $
- Author:
- Peter
Jacobs Alexander
Verbraeck
ReturnOperation
public ReturnOperation()
execute
public abstract Object execute(Frame frame)
- executes the operation
- Parameters:
frame
- the current frame
- Returns:
- Object the result
isSynchronized
public static boolean isSynchronized(AccessibleObject object)
- is the accessibleObject synchronized?
- Parameters:
object
- the method or constructor
- Returns:
- isSynchronized?
isStatic
public static boolean isStatic(AccessibleObject object)
- is the accessibleObject static?
- Parameters:
object
- the method or constructor
- Returns:
- isStatic?
Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.