docs: @SuppressWarnings("unchecked")
  	public static Class<? extends Tuple> getTupleClass(int arity) {
  		if (arity < 0 || arity > MAX_ARITY) {
  			throw new IllegalArgumentException("The tuple arity must be in [0, " + MAX_ARITY + "].");
  		}
  		return (Class<? extends Tuple>) CLASSES[arity];
  	}