Refactoring: added AbstractComparator.__repr__()