public abstract class AbstractComparator<T>
extends Object
implements Comparator
Base class for Groovy comparators. Provides a common implementation where equality is based on object identity.
Tests for equality based on object identity.
obj - the object to compare withtrue if this object is the same as the specified object