Lines Matching refs:elements
39 protected int[] elements = null;
46 elements = new int[initialCapacity];
54 int v = elements[i];
55 elements[i] = newValue;
60 if ( n>=elements.length ) {
63 elements[n] = o;
69 if ( newSize>=elements.length ) {
76 ensureCapacity((elements.length * 3)/2 + 1);
81 int element = elements[i];
90 int oldCapacity = elements.length;
92 int oldData[] = elements;
93 elements = new int[newCapacity];
94 System.arraycopy(oldData, 0, elements, 0, n);
103 return elements[i];
106 public int[] elements() {
108 System.arraycopy(elements, 0, a, 0, n);
117 return elements.length;
129 if ( elements[i] != other.elements[i] ) {
139 System.arraycopy(this.elements, 0, a.elements, 0, this.elements.length);
149 buf.append(elements[i]);