Switching on enums


/ Published in: Java
Save to your folder(s)

- Tiger simply requires that you not preface each enumerated type with the enum class name
- if not handling every enumerated type - warining will be displayed that not all of enum values not being compile time constants

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.