public interface OrdinalEnum
Usually enumerations are represented to/from strings using enumeration constant name, see Enum.name()
. When
an enumeration implements this interface uses Enum.ordinal()
instead.
Copyright © 2020. All rights reserved.