protected void updatePositions(DocumentEvent event){
  ArrayList<PositionUpdater> list=new ArrayList<PositionUpdater>(fPositionUpdaters);
  Iterator<PositionUpdater> e=list.iterator();
  while (e.hasNext()) {
    PositionUpdater u=e.next();
    u.update(event);
  }
}

protected void updatePositions ( DocumentEvent event ) { ArrayList < PositionUpdater > list = new ArrayList < PositionUpdater > ( fPositionUpdaters ) ; Iterator < PositionUpdater > e = list . iterator ( ) ; while ( e . hasNext ( ) ) { PositionUpdater u = e . next ( ) ; u . update ( event ) ; } }
updates all positions of all categories to the change described by the document event . all registered document updaters are called in the sequence they have been arranged . uses a robust iterator .
