An EnumDiscriminator discriminates any Enum objects. It discriminates objects by calling the ordinal() method on the enum values. Then it delegates to an IntegerDiscriminator to discriminate the ordinal values.
Given the enum class...
public enum Suit { CLUBS, DIAMONDS, SPADES, HEARTS; }
... and the input...
... an EnumDiscriminator returns the following equivalence classes: