Static Public Member Functions | |
| static int | mustBeOneOf (int value, int[] set) |
| static int tit.utility.Integers.mustBeOneOf | ( | int | value, | |
| int[] | set | |||
| ) | [static] |
Checks whether a value is in the set. Returns the value if the value is in the set, throws a IllegalArgumetnException if it isn't in the set.
| value | The value. | |
| set | The set |
1.5.1