public final synchronized void closeAll(){
  if (onCloseAll()) {
    Log.w(TAG,"Windows close all cancelled by implementation.");
    return;
  }
  LinkedList<Integer> ids=new LinkedList<Integer>();
  for (  int id : getExistingIds()) {
    ids.add(id);
  }
  for (  int id : ids) {
    close(id);
  }
}

public final synchronized void closeAll ( ) { if ( onCloseAll ( ) ) { Log . w ( TAG , "Windows close all cancelled by implementation." ) ; return ; } LinkedList < Integer > ids = new LinkedList < Integer > ( ) ; for ( int id : getExistingIds ( ) ) { ids . add ( id ) ; } for ( int id : ids ) { close ( id ) ; } }
close all existing windows .
