Lines Matching refs:text
41 package java.text;
54 private String text;
63 public StringCharacterIterator(String text)
65 this(text, 0);
71 * @param text The String to be iterated over
74 public StringCharacterIterator(String text, int pos)
76 this(text, 0, text.length(), pos);
83 * @param text The String to be iterated over
88 public StringCharacterIterator(String text, int begin, int end, int pos) {
89 if (text == null)
91 this.text = text;
93 if (begin < 0 || begin > end || end > text.length())
106 * method is used by other java.text classes that want to avoid allocating
110 * @param text The String to be iterated over
113 public void setText(String text) {
114 if (text == null)
116 this.text = text;
118 this.end = text.length();
165 return text.charAt(pos);
180 return text.charAt(pos);
196 return text.charAt(pos);
247 if (!text.equals(that.text))
260 return text.hashCode() ^ pos ^ begin ^ end;