|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PlatformFactory
interface represents a factory-style interface where an implementor can
create multiple platforms of the same type for a given program.
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. |
Method Detail |
public Platform newPlatform(int id, InterpreterFactory f, Program p)
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.
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 |