Home | History | Annotate | Download | only in util

Lines Matching defs:numElements

55  * elements (the <code>numElements</code> property) and if the difference
57 * <code>numElements + 1.</code> The determination of when the internal
61 * ratio between storage array length and <code>numElements</code> exceeds
124 protected int numElements = 0;
129 * internalArray[startIndex],...,internalArray[startIndex + numElements -1]
165 * initial capacity and numElements corresponding to the size of
187 numElements = initialArray.length;
296 numElements++;
297 if ((startIndex + numElements) > internalArray.length) {
300 internalArray[startIndex + (numElements - 1)] = value;
313 final double[] tempArray = new double[numElements + values.length + 1];
314 System.arraycopy(internalArray, startIndex, tempArray, 0, numElements);
315 System.arraycopy(values, 0, tempArray, numElements, values.length);
318 numElements += values.length;
340 if ((startIndex + (numElements + 1)) > internalArray.length) {
347 internalArray[startIndex + (numElements - 1)] = value;
359 * if {@link #numElements} is zero), a MathRuntimeException is thrown.
366 if (numElements < 1) {
371 double discarded = internalArray[startIndex + (numElements - 1)];
373 internalArray[startIndex + (numElements - 1)] = value;
415 numElements = 0;
426 double[] tempArray = new double[numElements + 1];
429 System.arraycopy(internalArray, startIndex, tempArray, 0, numElements);
441 * if i exceeds numElements.
444 * @throws IllegalArgumentException if i is greater than numElements.
458 * if i exceeds numElements.
461 * @throws IllegalArgumentException if i is greater than numElements.
480 * if i exceeds numElements.
486 * @throws IllegalArgumentException if i is greater than numElements.
490 if (i > numElements) {
493 i, numElements);
499 // "Subtract" this number of discarded from numElements
500 numElements -= i;
554 * and <code>numElements</code> exceeds <code>contractionFactor</code>.
574 if (index >= numElements) {
577 index, numElements - 1);
595 double[] elementArray = new double[numElements];
597 numElements);
647 return numElements;
698 * <code>getNumElements() - 1</code>, the <code>numElements</code> property
714 if (index + 1 > numElements) {
715 numElements = index + 1;
805 numElements = i;
816 return (internalArray.length / ((float) numElements)) > contractionCriteria;
818 return (internalArray.length - numElements) > contractionCriteria;
826 * internalArray[startIndex],...,internalArray[startIndex + numElements -1]
861 dest.numElements = source.numElements;
906 result = result && (other.numElements == numElements);
931 hashData[5] = numElements;