int (int value, int lowerBound, int upperBound) { assert lowerBound <= upperBound : String.format("%s - [%s, %s]", value, lowerBound, upperBound); return MathUtil.clamp(value, lowerBound, upperBound); }