ICU-11029 Added some note about methods not yet implemented. Also updated these method to do nothing but returns DONE.
X-SVN-Rev: 36410
This commit is contained in:
parent
eec0821db0
commit
6b334674c9
@ -161,15 +161,15 @@ public:
|
||||
|
||||
/* -- 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(); }
|
||||
|
||||
};
|
||||
|
@ -29,6 +29,18 @@ U_NAMESPACE_BEGIN
|
||||
* 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 {
|
||||
|
Loading…
Reference in New Issue
Block a user