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

@ Override public int last ( ) { CharacterIterator t = getText ( ) ; t . setIndex ( t . getEndIndex ( ) ) ; return t . getIndex ( ) ; }
sets the current iteration position to the end of the text . ( i . e . , the characteriterator ' s ending offset ) .
