Let\'s say Enum MyClass { ORANGE, APPLE, BANANA; }
Enum MyClass { ORANGE, APPLE, BANANA; }
In this case this will be true: ORANGE.compareTo(APPLE)<0 and Collections.min()
ORANGE.compareTo(APPLE)<0
Collections.min()