Lines Matching refs:prevBoundary
239 wordIterator.prevBoundary(-1);
240 fail("prevBoundary with invalid offset should throw IllegalArgumentException.");
244 wordIterator.prevBoundary(text.length() + 1);
245 fail("prevBoundary with invalid offset should throw IllegalArgumentException.");
250 currentOffset = wordIterator.prevBoundary(currentOffset);
253 currentOffset = wordIterator.prevBoundary(currentOffset);
256 currentOffset = wordIterator.prevBoundary(currentOffset);
259 currentOffset = wordIterator.prevBoundary(currentOffset);
262 currentOffset = wordIterator.prevBoundary(currentOffset);
265 currentOffset = wordIterator.prevBoundary(currentOffset);
268 currentOffset = wordIterator.prevBoundary(currentOffset);
271 currentOffset = wordIterator.prevBoundary(currentOffset);
274 currentOffset = wordIterator.prevBoundary(currentOffset);