Lines Matching refs:length
25 * character buffer of the scanner. The offset and length fields allow the
31 * should also not modify the offset and length if this structure (or
58 /** The length of characters from the offset. */
59 public int length;
75 * @param length The length of characters from the offset.
77 public XMLString(char[] ch, int offset, int length) {
78 setValues(ch, offset, length);
104 * @param length The length of characters from the offset.
106 public void setValues(char[] ch, int offset, int length) {
109 this.length = length;
122 setValues(s.ch, s.offset, s.length);
129 this.length = -1;
138 * @param length The length of characters from the offset.
140 public boolean equals(char[] ch, int offset, int length) {
144 if (this.length != length) {
148 for (int i=0; i<length; i++) {
166 if ( length != s.length() ) {
173 for (int i=0; i<length; i++) {
188 return length > 0 ? new String(ch, offset, length) : "";