public String toString(){
  final StringBuilder buf=new StringBuilder("{");
  for (int i=0, end=_pos - 1; i < end; i++) {
    buf.append(_data[i]);
    buf.append(", ");
  }
  if (size() > 0) {
    buf.append(_data[_pos - 1]);
  }
  buf.append("}");
  return buf.toString();
}

public String toString ( ) { final StringBuilder buf = new StringBuilder ( "{" ) ; for ( int i = 0 , end = _pos - 1 ; i < end ; i ++ ) { buf . append ( _data [ i ] ) ; buf . append ( ", " ) ; } if ( size ( ) > 0 ) { buf . append ( _data [ _pos - 1 ] ) ; } buf . append ( "}" ) ; return buf . toString ( ) ; }
returns a string representation of the list , front to back .
