All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pbsim.Fragment

java.lang.Object
   |
   +----pbsim.Fragment

public class Fragment
extends java.lang.Object
This class is the external representation of a PBrick fragment (task or subroutine). Most clients will not have to use this class at all - the RCXIReader class can be used to extract a complete program from an NQC-generated file.


Variable Index

 o SUB_FRAGMENT
 o TASK_FRAGMENT

Constructor Index

 o Fragment(int, int, byte[])

Method Index

 o getCode()
 o getId()
 o getType()

Variables

 o TASK_FRAGMENT
 public static final int TASK_FRAGMENT
 o SUB_FRAGMENT
 public static final int SUB_FRAGMENT

Constructors

 o Fragment
 public Fragment(int type,
                 int id,
                 byte code[])

Methods

 o getCode
 public byte[] getCode()
 o getId
 public int getId()
 o getType
 public int getType()

All Packages  Class Hierarchy  This Package  Previous  Next  Index