The documentation for the Enum method ordinal() states "Most programmers will have no use for this method." Since I can't use an enum constant directly as an array index (which seems like a huge oversight), how else would I use it for indexing *other* than getting the ordinal?
Thanks, Eric
Eric Smith wrote: > The documentation for the Enum method ordinal() states "Most programmers > will have no use for this method." Since I can't use an enum constant > directly as an array index (which seems like a huge oversight), how else > would I use it for indexing *other* than getting the ordinal?