Adds a record to a section of the Message, and adjusts the header. @see Record @see Section
(Record r, int section)
| 169 | * @see Section |
| 170 | */ |
| 171 | public void |
| 172 | addRecord(Record r, int section) { |
| 173 | if (sections[section] == null) |
| 174 | sections[section] = new LinkedList(); |
| 175 | header.incCount(section); |
| 176 | sections[section].add(r); |
| 177 | } |
| 178 | |
| 179 | /** |
| 180 | * Removes a record from a section of the Message, and adjusts the header. |
no test coverage detected