Example #1
0
  /** 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();
  }
Example #2
0
  /** Resets the values of all measures. */
  protected void clearAllMeasures() {
    super.clearAllMeasures();

    // this.skew = 0.0;
    // this.kurtosis = 0.0;
  }