Lines Matching defs:banks

47  * and setting elements of the DataBuffer's banks exist with and without
94 /** The number of banks in this DataBuffer. */
95 protected int banks;
100 /** Usable size of all banks. */
103 /** Offsets into all banks. */
130 * @param size the size of the banks
142 * @param size the size of the banks
150 this.banks = 1;
158 * banks. Each bank has the specified size and an offset of 0.
161 * @param size the size of the banks
162 * @param numBanks the number of banks in this
171 * banks with the indicated initial {@link State State}.
176 * @param size the size of the banks
177 * @param numBanks the number of banks in this
186 this.banks = numBanks;
189 this.offsets = new int[banks]; // init to 0 by new
194 * of banks. Each bank has the specified datatype, size and offset.
197 * @param size the size of the banks
198 * @param numBanks the number of banks in this
208 * of banks with the indicated initial {@link State State}.
213 * @param size the size of the banks
214 * @param numBanks the number of banks in this
224 this.banks = numBanks;
235 * of banks. Each bank has the specified datatype and size. The
240 * @param size the size of the banks
241 * @param numBanks the number of banks in this
253 * of banks with the indicated initial {@link State State}.
260 * @param size the size of the banks
261 * @param numBanks the number of banks in this
272 throw new ArrayIndexOutOfBoundsException("Number of banks" +
277 this.banks = numBanks;
290 /** Returns the size (in array elements) of all banks.
291 * @return the size of all banks.
304 /** Returns the offsets (in array elements) of all the banks.
305 * @return the offsets of all banks.
311 /** Returns the number of banks in this DataBuffer.
312 * @return the number of banks.
315 return banks;