Returns an array containing all records in the given section, or an empty array if the section is empty. @see Record @see Section
(int section)
| 341 | * @see Section |
| 342 | */ |
| 343 | public Record [] |
| 344 | getSectionArray(int section) { |
| 345 | if (sections[section] == null) |
| 346 | return emptyRecordArray; |
| 347 | List l = sections[section]; |
| 348 | return (Record []) l.toArray(new Record[l.size()]); |
| 349 | } |
| 350 | |
| 351 | private static boolean |
| 352 | sameSet(Record r1, Record r2) { |
no test coverage detected