The valueOf method is an inherited method for enums and will work without an override.
// Json
Type: Posts; User: Json
The valueOf method is an inherited method for enums and will work without an override.
// Json
Other than primitives you can also switch on enums :D
public class SwitchCase {
/**
* JavaProgrammingForums.com
* Spread the word ;)
*/