public void removeAllBlocksFromSection(){
  for (int i=mBlockEntries.size(); i > 0; i--) {
    Block b=mBlockEntries.get(i - 1);
    if (b != null) {
      b.removePropertyChangeListener(mBlockListeners.get(i - 1));
    }
    mBlockListeners.remove(i - 1);
    mBlockEntries.remove(i - 1);
  }
  for (int i=mForwardEntryPoints.size(); i > 0; i--) {
    mForwardEntryPoints.remove(i - 1);
  }
  for (int i=mReverseEntryPoints.size(); i > 0; i--) {
    mReverseEntryPoints.remove(i - 1);
  }
  initializationNeeded=false;
}

public void removeAllBlocksFromSection ( ) { for ( int i = mBlockEntries . size ( ) ; i > 0 ; i -- ) { Block b = mBlockEntries . get ( i - 1 ) ; if ( b != null ) { b . removePropertyChangeListener ( mBlockListeners . get ( i - 1 ) ) ; } mBlockListeners . remove ( i - 1 ) ; mBlockEntries . remove ( i - 1 ) ; } for ( int i = mForwardEntryPoints . size ( ) ; i > 0 ; i -- ) { mForwardEntryPoints . remove ( i - 1 ) ; } for ( int i = mReverseEntryPoints . size ( ) ; i > 0 ; i -- ) { mReverseEntryPoints . remove ( i - 1 ) ; } initializationNeeded = false ; }
remove all blocks , block listeners , and entry points
