Lines Matching defs:array
37 * An array that can be dynamically modified/
40 * the type of stored data in the array
44 /** An array object that holds the required data. */
45 private T[] array;
54 * Constructor. Builds an empty array of the specified sizes.
70 this.array = (T[]) new Object[totalSize];
74 * Constructor. Builds an empty array of the specified sizes.
92 this.array = data;
108 return array[position];
112 * This method returns a value on the specified position in multidimensional array. Be careful not to exceed the
127 return array[index];
131 * This method returns the total amount of data stored in the array.
132 * @return the total amount of data stored in the array
135 return array.length;
141 if (array instanceof Character[]) {//in case of character array we convert it to String
142 for (int i = 0; i < array.length && (Character) array[i] != '\0'; ++i) {//strings are terminater with '0'
143 result.append(array[i]);
147 for (int i = 0; i < array.length; ++i) {
148 result.append(array[i].toString());
149 if (i + 1 < array.length) {