Java tutorial
//package com.java2s; /* * oxPush2 is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ public class Main { public static boolean equals(Object a, Object b) { return (a == b) || (a != null && a.equals(b)); } }