Lines Matching refs:isBoundary
164 wordIterator.isBoundary(-1);
165 fail("isBoundary with invalid offset should throw IllegalArgumentException.");
169 wordIterator.isBoundary(text.length() + 1);
170 fail("isBoundary with invalid offset should throw IllegalArgumentException.");
174 assertTrue(wordIterator.isBoundary(text.indexOf('a')));
175 assertFalse(wordIterator.isBoundary(text.indexOf('b')));
176 assertTrue(wordIterator.isBoundary(text.indexOf('c') + 1));
177 assertTrue(wordIterator.isBoundary(text.indexOf('d')));
178 assertTrue(wordIterator.isBoundary(text.indexOf('-')));
179 assertTrue(wordIterator.isBoundary(text.indexOf('g')));
180 assertTrue(wordIterator.isBoundary(text.indexOf('.')));
181 assertTrue(wordIterator.isBoundary(text.indexOf('j')));
182 assertTrue(wordIterator.isBoundary(text.length()));
539 assertTrue(wordIterator.isBoundary(text.indexOf('i')));
540 assertFalse(wordIterator.isBoundary(text.indexOf('\'')));
541 assertFalse(wordIterator.isBoundary(text.indexOf('t')));
542 assertTrue(wordIterator.isBoundary(text.indexOf('t') + 1));
543 assertTrue(wordIterator.isBoundary(text.indexOf('h')));