Groovy Documentation

[Groovy] Enum Context

java.lang.Object
  Context

enum Context

Enum Constant Summary
Fictional

Historical

 
Method Summary
Context valueOf(java.lang.String name)

Returns the enum constant of this type with the specified name.

Context[] values()

Returns an array containing the constants of this enum type, in the order they are declared.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Enum Constant Detail

Fictional

Context Fictional


Historical

Context Historical


 
Method Detail

valueOf

Context valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.


values

Context[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation