/** * Clear or reset the tables. * <p> * @param intialIndexOffset the initial index offset to calculate * the maximum possible index */ public void clearOrResetTables(int intialIndexOffset) { if (requiresClear) { requiresClear = false; // Increment offset to new position indexOffset += maxIndex; // Reset the maximum known value of an index maxIndex = intialIndexOffset + elementIndexes.length + attributeIndexes.length; // Check if there is enough free space // If overflow if ((indexOffset + maxIndex) < 0) { clearAll(); } } else { // Reset the maximum known value of an index maxIndex = intialIndexOffset + elementIndexes.length + attributeIndexes.length; // Check if there is enough free space // If overflow if ((indexOffset + maxIndex) < 0) { resetAll(); } } }
/** * Clear or reset the tables. * <p> * @param initialIndexOffset the initial index offset to calculate * the maximum possible index */ public void clearOrResetTables(int intialIndexOffset) { if (requiresClear) { requiresClear = false; // Increment offset to new position indexOffset += maxIndex; // Reset the maximum known value of an index maxIndex = intialIndexOffset + elementIndexes.length + attributeIndexes.length; // Check if there is enough free space // If overflow if ((indexOffset + maxIndex) < 0) { clearAll(); } } else { // Reset the maximum known value of an index maxIndex = intialIndexOffset + elementIndexes.length + attributeIndexes.length; // Check if there is enough free space // If overflow if ((indexOffset + maxIndex) < 0) { resetAll(); } } }
/** * Clear or reset the tables. * <p> * @param intialIndexOffset the initial index offset to calculate * the maximum possible index */ public void clearOrResetTables(int intialIndexOffset) { if (requiresClear) { requiresClear = false; // Increment offset to new position indexOffset += maxIndex; // Reset the maximum known value of an index maxIndex = intialIndexOffset + elementIndexes.length + attributeIndexes.length; // Check if there is enough free space // If overflow if ((indexOffset + maxIndex) < 0) { clearAll(); } } else { // Reset the maximum known value of an index maxIndex = intialIndexOffset + elementIndexes.length + attributeIndexes.length; // Check if there is enough free space // If overflow if ((indexOffset + maxIndex) < 0) { resetAll(); } } }
/** * Clear or reset the tables. * <p> * @param intialIndexOffset the initial index offset to calculate * the maximum possible index */ public void clearOrResetTables(int intialIndexOffset) { if (requiresClear) { requiresClear = false; // Increment offset to new position indexOffset += maxIndex; // Reset the maximum known value of an index maxIndex = intialIndexOffset + elementIndexes.length + attributeIndexes.length; // Check if there is enough free space // If overflow if ((indexOffset + maxIndex) < 0) { clearAll(); } } else { // Reset the maximum known value of an index maxIndex = intialIndexOffset + elementIndexes.length + attributeIndexes.length; // Check if there is enough free space // If overflow if ((indexOffset + maxIndex) < 0) { resetAll(); } } }