A DoubleDiscriminator discriminates Doubles. With Java's auto-boxing feature, it doesn't matter whether Double objects or double values are present; this Discriminator will discriminate them. It discriminates its input by discriminating directly on the byte values.
Given the input...
... a DoubleDiscriminator returns the following equivalence classes: