@Override public int first(){
  CharacterIterator t=getText();
  t.first();
  return t.getIndex();
}

@ Override public int first ( ) { CharacterIterator t = getText ( ) ; t . first ( ) ; return t . getIndex ( ) ; }
sets the current iteration position to the beginning of the text . ( i . e . , the characteriterator ' s starting offset ) .
