public String toString(){
  StringBuilder s=new StringBuilder();
  for (  Item item : this)   s.append(item + " ");
  return s.toString();
}

public String toString ( ) { StringBuilder s = new StringBuilder ( ) ; for ( Item item : this ) s . append ( item + " " ) ; return s . toString ( ) ; }
returns a string representation of this queue .
