class ObjectHelper
{
    public static int Compare(Object left, Object right)
    {
        if (left == right) {
            return 0;
        } else {
            return -1;
        }
    }
}

add android support for ObjectHelper