public void addRecord ( Record r , int section ) { if ( sections [ section ] == null ) sections [ section ] = new LinkedList ( ) ; header . incCount ( section ) ; sections [ section ] . add ( r ) ; }
Adds a record to a section of the Message and adjusts the header .