docs: protected Classifier addToStored(Classifier newClassifier, double newClassifiersWeight) {
          Classifier addedClassifier = null;
          Classifier[] newStored = new Classifier[this.storedLearners.length + 1];
          double[][] newStoredWeights = new double[newStored.length][2];
  
          for (int i = 0; i < newStored.length; i++) {
              if (i < this.storedLearners.length) {
                  newStored[i] = this.storedLearners[i];
                  newStoredWeights[i][0] = this.storedWeights[i][0];
                  newStoredWeights[i][1] = this.storedWeights[i][1];
              } else {
                  newStored[i] = addedClassifier = newClassifier.copy();
                  newStoredWeights[i][0] = newClassifiersWeight;
                  newStoredWeights[i][1] = i;
              }
          }
          this.storedLearners = newStored;
          this.storedWeights = newStoredWeights;
  
          return addedClassifier;
      }