public static NumberRecord[] convertRKRecords(MulRKRecord mrk) {NumberRecord[] mulRecs = new NumberRecord[mrk.getNumColumns()];for (int k = 0; k < mrk.getNumColumns(); k++) {NumberRecord nr = new NumberRecord();nr.setColumn((short) (k + mrk.getFirstColumn()));nr.setRow(mrk.getRow());nr.setXFIndex(mrk.getXFAt(k));nr.setValue(mrk.getRKNumberAt(k));mulRecs[k] = nr;}return mulRecs;}

public static NumberRecord[] ConvertRKRecords(MulRKRecord mrk){NumberRecord[] mulRecs = new NumberRecord[mrk.NumColumns];for (int k = 0; k < mrk.NumColumns; k++){NumberRecord nr = new NumberRecord();nr.Column = ((short)(k + mrk.FirstColumn));nr.Row = (mrk.Row);nr.XFIndex = (mrk.GetXFAt(k));nr.Value = (mrk.GetRKNumberAt(k));mulRecs[k] = nr;}return mulRecs;}
