public void setMaxShingleSize(int maxShingleSize) {if (maxShingleSize < 2) {throw new IllegalArgumentException("Max shingle size must be >= 2");}this.maxShingleSize = maxShingleSize;}
public void SetMaxShingleSize(int maxShingleSize){if (maxShingleSize < 2){throw new System.ArgumentException("Max shingle size must be >= 2");}this.maxShingleSize = maxShingleSize;}