generator2
Class NodeReporter.ReportObject

java.lang.Object
  |
  +--generator2.NodeReporter.ReportObject
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
NodeReporter

protected class NodeReporter.ReportObject
extends java.lang.Object
implements java.lang.Comparable

Internal class for representing report objects.


Field Summary
protected  byte action
           
protected  long id
           
protected  int objClass
           
protected  double speed
           
protected  double time
           
protected  int x1
           
protected  int x2
           
protected  int y1
           
protected  int y2
           
 
Constructor Summary
protected NodeReporter.ReportObject(byte action, long id, int objClass, double time, int x1, int y1, double speed, int x2, int y2)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
protected  void print(java.io.DataOutputStream out)
           
protected  void print(java.io.PrintWriter out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

action

protected byte action

id

protected long id

objClass

protected int objClass

time

protected double time

x1

protected int x1

y1

protected int y1

speed

protected double speed

x2

protected int x2

y2

protected int y2
Constructor Detail

NodeReporter.ReportObject

protected NodeReporter.ReportObject(byte action,
                                    long id,
                                    int objClass,
                                    double time,
                                    int x1,
                                    int y1,
                                    double speed,
                                    int x2,
                                    int y2)
Method Detail

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable

print

protected void print(java.io.PrintWriter out)

print

protected void print(java.io.DataOutputStream out)