public int numberExcluding(int min, int max, int exclusivedVal) {
		if (min > max)
			throw new IllegalArgumentException();
		if (min > exclusivedVal || exclusivedVal > max)
			throw new IllegalArgumentException();
		int value = number(min, max - 1);
		if (value >= exclusivedVal)
			value++;
		return value;
	}
public int numberExcluding(int min, int max, int exclusivedVal) {
		if (min > max)
			throw new IllegalArgumentException();
		if (min > exclusivedVal || exclusivedVal > max)
			throw new IllegalArgumentException();
		int value = number(min, max - 1);
		if (value >= exclusivedVal)
			value++;
		return value;
	}
public int numberExcluding ( int min , int max , int exclusivedVal ) { if ( min > max ) throw new IllegalArgumentException ( ) ; if ( min > exclusivedVal || exclusivedVal > max ) throw new IllegalArgumentException ( ) ; int value = number ( min , max - 1 ) ; if ( value >= exclusivedVal ) value ++ ; return value ; }
Return an integer in the (inclusive) range [minimum, maximum] excluding
exclusivedVal.
Return an integer in the ( inclusive ) range [ minimum maximum ] excluding exclusivedVal .