Package repast.simphony.engine.schedule
Class IActionParameterPair
- java.lang.Object
-
- repast.simphony.engine.schedule.IActionParameterPair
-
public class IActionParameterPair extends Object
A simple pair object containing an IAction and ScheduleParameters. The ScheduleParameters object contains the scheduling data for its paired IAction.- Version:
- $Revision: 1.1 $ $Date: 2005/12/21 22:25:34 $
- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description IActionParameterPair(IAction action, ScheduleParameters params)
Creates an IActionParameterPair from the specified IAction and parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAction
getAction()
Gets the IAction part of this pair.ScheduleParameters
getParams()
Gets the ScheduleParameters part of this pair.
-
-
-
Constructor Detail
-
IActionParameterPair
public IActionParameterPair(IAction action, ScheduleParameters params)
Creates an IActionParameterPair from the specified IAction and parameters.- Parameters:
action
- the actionparams
- the scheduling data for the IAction
-
-
Method Detail
-
getAction
public IAction getAction()
Gets the IAction part of this pair.- Returns:
- the IAction part of the pair.
-
getParams
public ScheduleParameters getParams()
Gets the ScheduleParameters part of this pair.- Returns:
- the ScheduleParameters part of the pair.
-
-