Effective Java! Use EnumMap instead of Ordinal Indexing

We again consider another special collection type that handles enums in an efficient manner. This time we consider EnumMaps. Let's consider some code that doesn't use an EnumMap and instead uses the ordinal built in function. As discussed in a previous chapter this is a function that should only be used by internal libraries and not by our code.

class PLant {
final String name;
final LifeCycle lifeCycle;
Plant(String name, LifeCycle