public static SetSize ( System arrayList, int newSize ) : void | ||
arrayList | System | The ArrayList to be changed |
newSize | int | The new ArrayList size |
return | void |
/* * If both of the vectors are empty, get more data for them. */ private void resetVectors() { // If we're done, no further checking needed if (completed) { return; } // Checks if we have run out of references if ((referenceIndex != 0) && (referenceIndex >= referenceCount)) { SupportClass.SetSize(references, 0); referenceCount = 0; referenceIndex = 0; } // Checks if we have run out of entries if ((entryIndex != 0) && (entryIndex >= entryCount)) { SupportClass.SetSize(entries, 0); entryCount = 0; entryIndex = 0; } // If no data at all, must reload enumeration if ((referenceIndex == 0) && (referenceCount == 0) && (entryIndex == 0) && (entryCount == 0)) { completed = BatchOfResults; } }