2109211021112112211321142115211621172118
// Should never happen. throw new IllegalArgumentException(); } if (!ok) { throw new NonMonotonousSequenceException(val[i], previous, i, dir, strict); } previous = val[i]; } }