`values()` is a function that's automatically generated for all `enum` types and which returns a static final array including all the `enum` values (so FF, FR, RF and RR in this case).  `values` as I've added here is shadowing that generated function with a `public static final enum[]`.  I'm essentially bypassing the getter for this enum type, which was taking up to 5% of the total runtime.