Some implementation for equivalence partition datastructure.