org.bouncycastle.util.Objects Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.bcprov-jdk15on
Show all versions of org.apache.servicemix.bundles.bcprov-jdk15on
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package org.bouncycastle.util;
public class Objects
{
public static boolean areEqual(Object a, Object b)
{
return a == b || (null != a && null != b && a.equals(b));
}
public static int hashCode(Object obj)
{
return null == obj ? 0 : obj.hashCode();
}
}