Searched refs:getPunctuationEnd (Results 1 – 3 of 3) sorted by relevance
584 wordIterator.getPunctuationEnd(BreakIterator.DONE); in testGetPunctuationEnd()589 wordIterator.getPunctuationEnd(-2); in testGetPunctuationEnd()594 wordIterator.getPunctuationEnd(text.length() + 1); in testGetPunctuationEnd()600 assertEquals(text.indexOf('?') + 1, wordIterator.getPunctuationEnd(text.indexOf('a'))); in testGetPunctuationEnd()601 assertEquals(text.indexOf('?') + 1, wordIterator.getPunctuationEnd(text.indexOf('?') + 1)); in testGetPunctuationEnd()602 assertEquals(text.indexOf('(') + 1, wordIterator.getPunctuationEnd(text.indexOf('('))); in testGetPunctuationEnd()603 assertEquals(text.indexOf(')') + 1, wordIterator.getPunctuationEnd(text.indexOf('(') + 2)); in testGetPunctuationEnd()604 assertEquals(text.indexOf(')') + 1, wordIterator.getPunctuationEnd(text.indexOf(')') + 1)); in testGetPunctuationEnd()605 assertEquals(BreakIterator.DONE, wordIterator.getPunctuationEnd(text.indexOf('d'))); in testGetPunctuationEnd()606 assertEquals(BreakIterator.DONE, wordIterator.getPunctuationEnd(text.length())); in testGetPunctuationEnd()
301 public int getPunctuationEnd(int offset) { in getPunctuationEnd() method in WordIterator
912 retOffset = getWordIteratorWithText().getPunctuationEnd(offset); in getWordEnd()