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 Mica2.Factory

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

All Implemented Interfaces:
  PlatformFactory

Enclosing class:
  Mica2

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

Constructor Summary
`Mica2.Factory()`

Method Summary
`Platform` | `newPlatform(int id, InterpreterFactory f, Program p)` The `newPlatform()` method is a factory method used to create new instances of the `Mica2` class.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Mica2.Factory

    public Mica2.Factory()

Method Detail

### newPlatform

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

  The `newPlatform()` method is a factory method used to create new instances of the `Mica2` class.

  Specified by:
    `newPlatform` in interface `PlatformFactory`
  Parameters:
    `id` - the integer ID of the node
    `f` - the interpreter factory for the node
    `p` - the program to load onto the node
  Returns:
    a new instance of the `Mica2` platform

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