value = 0;
} else if(!cycle) {
// Common case. Value always includes start.
value = startsWith + ((rawNumber - 1) * increment);
if((value < minValue) || (value > maxValue)) {
throw new SequenceLimitExceededException(this);
}
} else {
// Otherwise two cases: pre and post cycle
boolean isIncreasing = (increment > 0);
long absInc = Math.abs(increment);