/** Removes all elements from the receiver. The receiver will be empty after this call returns. */ public synchronized void clear() { super.clear(); if (this.elements != null) this.elements.clear(); if (this.sortedElements != null) this.sortedElements.clear(); this.validateAll(); }
/** Resets the values of all measures. */ protected void clearAllMeasures() { super.clearAllMeasures(); // this.skew = 0.0; // this.kurtosis = 0.0; }