|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.sim.platform.Seres.Factory
Constructor Summary | |
Seres.Factory()
|
Method Summary | |
Platform |
newPlatform(int id,
InterpreterFactory f,
Program p)
The newPlatform() method creates a new instance of the platform with the specified
ID number, using the interpreter created by the given interpreter factory, containing the specified
progarm. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Seres.Factory()
Method Detail |
public Platform newPlatform(int id, InterpreterFactory f, Program p)
PlatformFactory
newPlatform()
method creates a new instance of the platform with the specified
ID number, using the interpreter created by the given interpreter factory, containing the specified
progarm.
newPlatform
in interface PlatformFactory
id
- the ID number of the platform to createf
- the interpreter factory capable of creating a new interpreter for this platformp
- the program to load into the platform
Platform
interface for this platform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |