///** // * @param refTime the refTime to set // */ public void setRefTime(Constellations.Time refTime) { this.refTime = refTime; }
//public Object clone() //{ // try // { // ByteArrayOutputStream baos = new ByteArrayOutputStream(); // this.write(new DataOutputStream(baos)); // DataInputStream dis = new DataInputStream(new ByteArrayInputStream(baos.ToByteArray())); // baos.reset(); // dis.readUTF(); // return new Observations(dis, false); // } // catch (IOException ioe) // { // ioe.PrintStackTrace(); // } // return null; //} public Observations(Constellations.Time time, int flag) { this.refTime = time; this.eventFlag = flag; }
/** * @param refTime the refTime to set */ public void setRefTime(Time refTime) { this.refTime = refTime; }