Example #1
0
        /**
         * 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();
        }
Example #2
0
            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);
            }
Example #3
0
        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);
        }
Example #4
0
        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;
        }
Example #5
0
 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;
 }