|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.parameter.rpl.RPLFactory
public class RPLFactory
Factory class for creating RPLParameter and RPLValues from intermediary objects.
| Constructor Summary | |
|---|---|
RPLFactory()
|
|
| Method Summary | |
|---|---|
static RPLParameter |
createConstant(java.lang.String name,
RPLObject val)
Creates a constant RPLParameter from the specified name and having the specified value. |
static RPLParameter |
createParameter(java.lang.String name,
RPLList list)
Creates an RPLParameter with specified name whose value is defined by the specified list. |
static RPLParameter |
createParameter(java.lang.String name,
RPLObject start,
RPLObject end)
Creates an RPLParameter with specified name from the specified starting and ending values. |
static RPLParameter |
createParameter(java.lang.String name,
RPLObject start,
RPLObject end,
RPLObject incr)
Creates an RPLParameter with specified name from the specified starting, ending and increment values. |
static RPLList |
createRPLList(java.util.List list)
Creates an RPLList from the specified list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RPLFactory()
| Method Detail |
|---|
public static RPLList createRPLList(java.util.List list)
list - the list of RPLObjects used to create the RPLList
public static RPLParameter createConstant(java.lang.String name,
RPLObject val)
name - the name of the parameterval - an RPLObject representing the value of the constant.
public static RPLParameter createParameter(java.lang.String name,
RPLList list)
name - the name of the parameterlist - an RPLList whose items are represent the possible values
of the parameter
public static RPLParameter createParameter(java.lang.String name,
RPLObject start,
RPLObject end)
name - the name of the parameterstart - an RPLObject that represents the starting value of the
new RPLParameterend - an RPLObject that represents the ending value of the
new RPLParameter
public static RPLParameter createParameter(java.lang.String name,
RPLObject start,
RPLObject end,
RPLObject incr)
name - the name of the parameterstart - an RPLObject that represents the starting value of the
new RPLParameterend - an RPLObject that represents the ending value of the
new RPLParameterincr - an RPLObject that represents the increment value of the
new RPLParameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||