LeoColman
02/14/2019, 3:34 PMEnum.foo would sometimes be differente from Enum.foo, and that's impossible?Czar
02/14/2019, 3:39 PMequals therefore must not use hashCode. If equals is implemented correctly MyEnum.foo always equals MyEnum.fooLeoColman
02/14/2019, 3:41 PMCzar
02/14/2019, 3:45 PMDavio
02/14/2019, 3:47 PM