public static void assertInBounds ( final String param , final long value , final long min , final long max ) { if ( value < min || value > max ) { throw new IllegalArgumentException ( String . format ( SR . PARAMETER_NOT_IN_RANGE , param , min , max ) ) ; } }
Asserts that the specified integer is in the valid range .