public void clear(){
  while (queue.poll() != null)   ;
  modCount++;
  Entry[] tab=table;
  for (int i=0; i < tab.length; ++i)   tab[i]=null;
  size=0;
  while (queue.poll() != null)   ;
}

public void clear ( ) { while ( queue . poll ( ) != null ) ; modCount ++ ; Entry [ ] tab = table ; for ( int i = 0 ; i < tab . length ; ++ i ) tab [ i ] = null ; size = 0 ; while ( queue . poll ( ) != null ) ; }
removes all mappings from this map .
