Searched refs:isAfterPunctuation (Results 1 – 3 of 3) sorted by relevance
318 public boolean isAfterPunctuation(int offset) { in isAfterPunctuation() method in WordIterator364 return isOnPunctuation(offset) && !isAfterPunctuation(offset); in isPunctuationStartBoundary()368 return !isOnPunctuation(offset) && isAfterPunctuation(offset); in isPunctuationEndBoundary()
615 assertFalse(wordIterator.isAfterPunctuation(text.indexOf('a'))); in testIsAfterPunctuation()616 assertFalse(wordIterator.isAfterPunctuation(text.indexOf('!'))); in testIsAfterPunctuation()617 assertTrue(wordIterator.isAfterPunctuation(text.indexOf('?'))); in testIsAfterPunctuation()618 assertTrue(wordIterator.isAfterPunctuation(text.indexOf('?') + 1)); in testIsAfterPunctuation()619 assertFalse(wordIterator.isAfterPunctuation(text.indexOf('d'))); in testIsAfterPunctuation()621 assertFalse(wordIterator.isAfterPunctuation(BreakIterator.DONE)); in testIsAfterPunctuation()622 assertFalse(wordIterator.isAfterPunctuation(text.length() + 1)); in testIsAfterPunctuation()
910 if (getWordIteratorWithText().isAfterPunctuation(retOffset)) { in getWordEnd()