Public Member Functions | |
Table (Array values, Map specifiers) | |
Value | lookup (Integer index) |
reset () | |
A lookup table.
Constructs a new lookup table.
values | The array of possible values. |
specifiers | The format specifiers. |
The supported specifiers are:
initial:
The initial value.force:
Specifies that the value must always be returned.unchanged:
Specifies the value to be returned when the value is unchanged.