public void setMinShingleSize(int minShingleSize) {if (minShingleSize < 2) {throw new IllegalArgumentException("Min shingle size must be >= 2");}if (minShingleSize > maxShingleSize) {throw new IllegalArgumentException("Min shingle size must be <= max shingle size");}this.minShingleSize = minShingleSize;gramSize = new CircularSequence();}
public void SetMinShingleSize(int minShingleSize){if (minShingleSize < 2){throw new System.ArgumentException("Min shingle size must be >= 2");}if (minShingleSize > maxShingleSize){throw new System.ArgumentException("Min shingle size must be <= max shingle size");}this.minShingleSize = minShingleSize;gramSize = new CircularSequence(this);}