class EnumExtensions extends Object
Extensions for the Enum class.
EnumExtensions()
<E extends Enum>
static Enum<E>
next(Enum<E> self)
class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Returns the next enum value in the sequence of enums of this type, wrapping back to the first enum when the end of the sequence is reached.
Groovy Documentation