Searched refs:CharacterIterator (Results 1 - 13 of 13) sorted by relevance

/libcore/luni/src/main/java/java/text/
H A DCharacterIterator.java25 public interface CharacterIterator extends Cloneable { interface in inherits:Cloneable
34 * Returns a new {@code CharacterIterator} with the same properties.
H A DRuleBasedBreakIterator.java51 CharacterIterator it = wrapped.getText();
58 @Override public CharacterIterator getText() {
78 @Override public void setText(CharacterIterator newText) {
H A DBreakIterator.java82 * {@link CharacterIterator}, which makes it possible to use {@code
84 * {@code CharacterIterator} interface.
223 * @see CharacterIterator
423 * Returns a {@code CharacterIterator} which represents the text being
429 * @return a {@code CharacterIterator} which represents the text being
432 public abstract CharacterIterator getText();
472 * Sets the new text to be analyzed by the given {@code CharacterIterator}.
477 * the {@code CharacterIterator} referring to the text to be
480 public abstract void setText(CharacterIterator newText);
H A DCollationElementIterator.java196 public void setText(CharacterIterator source) {
H A DAttributedCharacterIterator.java29 * {@link CharacterIterator} interface, adding support for iterating over
35 public interface AttributedCharacterIterator extends CharacterIterator {
H A DRuleBasedCollator.java308 * {@code CharacterIterator}. The source iterator's integrity will be
315 public CollationElementIterator getCollationElementIterator(CharacterIterator source) {
H A DStringCharacterIterator.java21 * An implementation of {@link CharacterIterator} for strings.
23 public final class StringCharacterIterator implements CharacterIterator {
H A DAttributedString.java410 while (iterator.current() != CharacterIterator.DONE) {
/libcore/luni/src/main/java/libcore/icu/
H A DNativeBreakIterator.java19 import java.text.CharacterIterator;
36 private CharacterIterator charIterator;
49 // The RI doesn't clone the CharacterIterator.
92 public CharacterIterator getText() {
114 public void setText(CharacterIterator newText) {
116 for (char c = newText.first(); c != CharacterIterator.DONE; c = newText.next()) {
126 private void setText(String s, CharacterIterator it) {
H A DRuleBasedCollatorICU.java13 import java.text.CharacterIterator;
113 public CollationElementIteratorICU getCollationElementIterator(CharacterIterator it) {
118 private String characterIteratorToString(CharacterIterator it) {
120 for (char ch = it.current(); ch != CharacterIterator.DONE; ch = it.next()) {
H A DCollationElementIteratorICU.java12 import java.text.CharacterIterator;
102 public void setText(CharacterIterator source) {
/libcore/luni/src/test/java/libcore/java/text/
H A DCollatorTest.java19 import java.text.CharacterIterator;
112 new RuleBasedCollator("< a< b< c< d").getCollationElementIterator((CharacterIterator) null);
133 CharacterIterator it = new StringCharacterIterator(s);
H A DOldAttributedStringTest.java21 import java.text.CharacterIterator;
35 while ((ch = it.next()) != CharacterIterator.DONE)
175 while ((ch = it.next()) != CharacterIterator.DONE)

Completed in 169 milliseconds