Get enum from integer value (ordinal)


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

A simple way to get the enum indicated by its ordinal value.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.