My problem: I want to specify a 1 to 1 connection between two enums. basically:
enum MyEnum{ ENUM_VALUE_1, ENUM_VALUE_2, ENUM_VALUE_3, } enum
Im a bit confused, by your question. Have you considered using HashSet?
A HashSet can be used to ensure unique values, then simply add the values used in the HashSet if it returns false the value already exists.