public int last() {if (sentenceStarts.length > 0) {currentSentence = sentenceStarts.length - 1;text.setIndex(text.getEndIndex());} else { currentSentence = 0;text.setIndex(text.getBeginIndex());}return current();}

public override int Last(){if (sentenceStarts.Length > 0){currentSentence = sentenceStarts.Length - 1;text.SetIndex(text.EndIndex);}else{ currentSentence = 0;text.SetIndex(text.BeginIndex);}return Current;}
