public char[] expandCurrentSegment(){
  char[] curr=_currentSegment;
  int len=curr.length;
  int newLen=(len == MAX_SEGMENT_LEN) ? (MAX_SEGMENT_LEN + 1) : Math.min(MAX_SEGMENT_LEN,len + (len >> 1));
  _currentSegment=_charArray(newLen);
  System.arraycopy(curr,0,_currentSegment,0,len);
  return _currentSegment;
}

public char [ ] expandCurrentSegment ( ) { char [ ] curr = _currentSegment ; int len = curr . length ; int newLen = ( len == MAX_SEGMENT_LEN ) ? ( MAX_SEGMENT_LEN + 1 ) : Math . min ( MAX_SEGMENT_LEN , len + ( len > > 1 ) ) ; _currentSegment = _charArray ( newLen ) ; System . arraycopy ( curr , 0 , _currentSegment , 0 , len ) ; return _currentSegment ; }
method called to expand size of the current segment , to accomodate for more contiguous content . usually only used when parsing tokens like names .
