Return type | Name and parameters |
---|---|
Object
|
next()
This method is called by the ++ operator for enums. |
Object
|
previous()
This method is called by the -- operator for enums. |
addShutdownHook
, any
, any
, asBoolean
, asType
, collect
, collect
, collect
, dump
, each
, eachWithIndex
, every
, every
, find
, find
, findAll
, findAll
, findIndexOf
, findIndexOf
, findIndexValues
, findIndexValues
, findLastIndexOf
, findLastIndexOf
, findResult
, findResult
, getAt
, getMetaClass
, getMetaPropertyValues
, getProperties
, grep
, grep
, hasProperty
, identity
, inject
, inject
, inspect
, invokeMethod
, is
, isCase
, iterator
, metaClass
, print
, print
, printf
, printf
, println
, println
, println
, putAt
, respondsTo
, respondsTo
, setMetaClass
, split
, sprintf
, sprintf
, toString
, use
, use
, use
, with
, withTraits
This method is called by the ++ operator for enums. It will invoke Groovy's default next behaviour for enums do not have their own next method.
This method is called by the -- operator for enums. It will invoke Groovy's default previous behaviour for enums that do not have their own previous method.