public static void inclusiveBetween ( final double start , final double end , final double value , final String message ) { // TODO when breaking BC, consider returning value if ( value < start || value > end ) { throw new IllegalArgumentException ( message ) ; } }
Validate that the specified primitive value falls between the two inclusive values specified ; otherwise throws an exception with the specified message .