public PLSAggregate(RecordStream rs) {_pls = rs.getNext();if (rs.peekNextSid()==ContinueRecord.sid) {List<ContinueRecord> temp = new ArrayList<>();while (rs.peekNextSid()==ContinueRecord.sid) {temp.add((ContinueRecord)rs.getNext());}_plsContinues = new ContinueRecord[temp.size()];temp.toArray(_plsContinues);} else {_plsContinues = EMPTY_CONTINUE_RECORD_ARRAY;}}

public PLSAggregate(RecordStream rs){_pls = rs.GetNext();if (rs.PeekNextSid() == ContinueRecord.sid){List<ContinueRecord> temp = new List<ContinueRecord>();while (rs.PeekNextSid() == ContinueRecord.sid){temp.Add((ContinueRecord)rs.GetNext());}_plsContinues = new ContinueRecord[temp.Count];_plsContinues = temp.ToArray();}else{_plsContinues = EMPTY_CONTINUE_RECORD_ARRAY;}}
