class Ideone {
public static void main
(String[] args
) { System.
out.
println(saoIguais
(x, y
)); }
return obj == obj2;
}
}
//https://pt.stackoverflow.com/q/237794/101
Y2xhc3MgSWRlb25lIHsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKQl7CgkJT2JqZWN0IHggPSAzMDQ0OwoJCU9iamVjdCB5ID0geDsKCQlTeXN0ZW0ub3V0LnByaW50bG4oc2FvSWd1YWlzKHgsIHkpKTsKCX0KCXB1YmxpYyBzdGF0aWMgYm9vbGVhbiBzYW9JZ3VhaXMoT2JqZWN0IG9iaiwgT2JqZWN0IG9iajIpIHsKCSAgICByZXR1cm4gb2JqID09IG9iajI7Cgl9Cn0KCi8vaHR0cHM6Ly9wdC5zdGFja292ZXJmbG93LmNvbS9xLzIzNzc5NC8xMDE=