/* -- ITERATION -- */
virtual int32_t first(void) { return fDelegate->first(); }
- virtual int32_t preceding(int32_t offset) { return fDelegate->preceding(offset); }
- virtual int32_t previous(void) { return fDelegate->previous(); }
+ virtual int32_t preceding(int32_t offset) { /* TODO: not implemented */ return UBRK_DONE; }
+ virtual int32_t previous(void) { /* TODO: not implemented */ return UBRK_DONE; }
virtual UBool isBoundary(int32_t offset) { return fDelegate->isBoundary(offset); }
virtual int32_t current(void) const { return fDelegate->current(); }
virtual int32_t next(void);
- virtual int32_t next(int32_t n) { return fDelegate->next(n); }
- virtual int32_t following(int32_t offset) { return fDelegate->following(offset); }
+ virtual int32_t next(int32_t n) { /* TODO: not implemented */ return UBRK_DONE; }
+ virtual int32_t following(int32_t offset) { /* TODO: not implemented */ return UBRK_DONE; }
virtual int32_t last(void) { return fDelegate->last(); }
};
* but with "Mr." as an exception, a filtered break iterator
* would consider the string "Mr. Smith" to be a single segment.
*
+ * <p><b>Note:</b> An instance of {@link BreakIterator} returned by this builder
+ * class currently does not support following operations in this technology preview
+ * version:
+ * <ul>
+ * <li>{@link BreakIterator#next(int32_t) next(int32_t n)}</li>
+ * <li>{@link BreakIterator#previous(void) previous(void)}</li>
+ * <li>{@link BreakIterator#following(int32_t) following(int32_t offset)}</li>
+ * <li>{@link BreakIterator#preceding(int32_t) preceding(int32_t offset)}</li>
+ * </ul>
+ * When one of above methods is called, BreakIterator.DONE will be returned immediately
+ * without updating the internal state.
+ *
* @internal technology preview
*/
class U_I18N_API FilteredBreakIteratorBuilder : public UObject {