/** * Throws IllegalStateException if n > 0. */ private void checkEmpty() { if (getN() > 0) { throw new IllegalStateException( "Implementation must be configured before values are added."); } }
/** * Throws IllegalStateException if n > 0. */ private void checkEmpty() { if (getN() > 0) { throw new IllegalStateException( "Implementation must be configured before values are added."); } }