A BooleanDiscriminator discriminates Booleans. With Java's auto-boxing feature, it doesn't matter whether Boolean objects or boolean values are present; this Discriminator will discriminate them. Because there are only two boolean values, the BooleanDiscriminator places each item in one of two buckets, for false and true.
Given the input...
... a BooleanDiscriminator returns the following equivalence classes: