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
Class CodeSegment.DefaultFactory

    java.lang.Object
      avrora.sim.CodeSegment.DefaultFactory

All Implemented Interfaces:
  CodeSegment.Factory

Enclosing class:
  CodeSegment

public static class CodeSegment.DefaultFactory
extends java.lang.Object
implements CodeSegment.Factory

The `DefaultFactory` class represents a factory capable of creating a simple code segment that is not reprogrammable.

Constructor Summary
`CodeSegment.DefaultFactory(int s)`

Method Summary
`CodeSegment` | `newCodeSegment(java.lang.String name, BaseInterpreter bi, Segment.ErrorReporter er, Program p)`

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

Constructor Detail

### CodeSegment.DefaultFactory

    public CodeSegment.DefaultFactory(int s)

Method Detail

### newCodeSegment

    public CodeSegment newCodeSegment(java.lang.String name,
                                      BaseInterpreter bi,
                                      Segment.ErrorReporter er,
                                      Program p)

  Specified by:
    `newCodeSegment` in interface `CodeSegment.Factory`

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