Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.sim.platform
Class Seres.Factory

    java.lang.Object
      avrora.sim.platform.Seres.Factory

All Implemented Interfaces:
  PlatformFactory

Enclosing class:
  Seres

public static class Seres.Factory
extends java.lang.Object
implements PlatformFactory

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

### Seres.Factory

    public Seres.Factory()

Method Detail

### newPlatform

    public Platform newPlatform(int id,
                                InterpreterFactory f,
                                Program p)

  Description copied from interface: `PlatformFactory`
  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.

  Specified by:
    `newPlatform` in interface `PlatformFactory`
  Parameters:
    `id` - the ID number of the platform to create
    `f` - the interpreter factory capable of creating a new interpreter for this platform
    `p` - the program to load into the platform
  Returns:
    a new instance of the `Platform` interface for this platform

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD