Searched refs:getPunctuationEnd (Results 1 – 3 of 3) sorted by relevance
469 wordIterator.getPunctuationEnd(BreakIterator.DONE); in testGetPunctuationEnd()474 wordIterator.getPunctuationEnd(-2); in testGetPunctuationEnd()479 wordIterator.getPunctuationEnd(text.length() + 1); in testGetPunctuationEnd()485 assertEquals(text.indexOf('?') + 1, wordIterator.getPunctuationEnd(text.indexOf('a'))); in testGetPunctuationEnd()486 assertEquals(text.indexOf('?') + 1, wordIterator.getPunctuationEnd(text.indexOf('?') + 1)); in testGetPunctuationEnd()487 assertEquals(text.indexOf('(') + 1, wordIterator.getPunctuationEnd(text.indexOf('('))); in testGetPunctuationEnd()488 assertEquals(text.indexOf(')') + 1, wordIterator.getPunctuationEnd(text.indexOf('(') + 2)); in testGetPunctuationEnd()489 assertEquals(text.indexOf(')') + 1, wordIterator.getPunctuationEnd(text.indexOf(')') + 1)); in testGetPunctuationEnd()490 assertEquals(BreakIterator.DONE, wordIterator.getPunctuationEnd(text.indexOf('d'))); in testGetPunctuationEnd()491 assertEquals(BreakIterator.DONE, wordIterator.getPunctuationEnd(text.length())); in testGetPunctuationEnd()
287 public int getPunctuationEnd(int offset) { in getPunctuationEnd() method in WordIterator
804 retOffset = getWordIteratorWithText().getPunctuationEnd(offset); in getWordEnd()