С давних времён веду в своей программе на Java перечисления в таком стиле:
public static final int NONE = 0, ACTION_ID = 1, ADAPTER_NAME = 2, ATTR_ACCESS_TYPE = 3;
public static final int ATTR_GROUP_ID = 4, ATTR_ID = 5, ATTR_ID_LIST = 6, ATTR_SCHEMA_ID = 7;
public static final int ATTR_TYPE_DEF_ID = 8, ATTR_TYPE_ID = 9, COMPONENT_ID =
(
Read more... )