/** * Constructs a MulRK record and Sets its fields appropriately. * * @param in the RecordInputstream to Read the record from */ public MulRKRecord(RecordInputStream in1) { field_1_row = in1.ReadUShort(); field_2_first_col = in1.ReadShort(); field_3_rks = RkRec.ParseRKs(in1); field_4_last_col = in1.ReadShort(); }
public static RkRec[] ParseRKs(RecordInputStream in1) { int nItems = (in1.Remaining - 2) / ENCODED_SIZE; RkRec[] retval = new RkRec[nItems]; for (int i = 0; i < nItems; i++) { retval[i] = new RkRec(in1); } return(retval); }
private ArrayList ParseRKs(RecordInputStream in1) { ArrayList retval = new ArrayList(); while ((in1.Remaining - 2) > 0) { RkRec rec = new RkRec(); rec.xf = in1.ReadShort(); rec.rk = in1.ReadInt(); retval.Add(rec); } return(retval); }
private ArrayList ParseRKs(RecordInputStream in1) { ArrayList retval = new ArrayList(); while ((in1.Remaining - 2) > 0) { RkRec rec = new RkRec(); rec.xf = in1.ReadShort(); rec.rk = in1.ReadInt(); retval.Add(rec); } return retval; }
public static RkRec[] ParseRKs(RecordInputStream in1) { int nItems = (in1.Remaining - 2) / ENCODED_SIZE; RkRec[] retval = new RkRec[nItems]; for (int i = 0; i < nItems; i++) { retval[i] = new RkRec(in1); } return retval; }