public synchronized void clear() throws IOException {
  if (allocatedNodes != null) {
    allocatedNodes.clear();
  }
 else {
    allocatedNodes=new BitSet();
  }
  scheduleSync();
}

public synchronized void clear ( ) throws IOException { if ( allocatedNodes != null ) { allocatedNodes . clear ( ) ; } else { allocatedNodes = new BitSet ( ) ; } scheduleSync ( ) ; }
clears the allocated nodes list .
