From: Mark D. ☕️ <ma...@ma...> - 2017-04-28 18:54:57
|
Lgtm {phone} On Apr 28, 2017 11:42 AM, "Andy Heninger" <and...@gm...> wrote: > Dear ICU team & users, > > I would like to propose the following API for ICU4J 60. > Please provide feedback by Tuesday, May 16. > Designated API reviewer: Markus > Ticket: #12982 <http://bugs.icu-project.org/trac/ticket/12982> > > Add a new CharSequence overload of BreakIterator.setText() > <http://icu-project.org/apiref/icu4j/com/ibm/icu/text/BreakIterator.html#setText-java.lang.String-> > > /** > * Sets the iterator to analyze a new piece of text. The new > * piece of text is passed in as a CharSequence, and the current > * iteration position is reset to the beginning of the text. > * (The old text is dropped.) > * @param newText A CharSequence containing the text to analyze with > * this BreakIterator. > * @draft ICU 60 > */ > public void setText(CharSequence newText) > > BreakIterator is an abstract class. Concrete BreakIterators are assumed to > work directly on text from a CharacterIterator. > > A default implementation of the new function will create a > CharacterIterator that wraps the CharSequence. There should be no effect on > any derived BreakIterator classes. > > -- Andy > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > icu-design mailing list > icu...@li... > To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-design > |