private void createContainerIfNecessary(){
  if (container.isFull()) {
    container=new TimerRawContainer();
    data.add(container);
  }
}

private void createContainerIfNecessary ( ) { if ( container . isFull ( ) ) { container = new TimerRawContainer ( ) ; data . add ( container ) ; } }
creates a new container if it is necessary .
