net.shibboleth.utilities.java.support.primitive
Class ObjectSupport
java.lang.Object
net.shibboleth.utilities.java.support.primitive.ObjectSupport
public final class ObjectSupport
- extends Object
Helper methods for working with Objects.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectSupport
private ObjectSupport()
- Constructor.
hashCode
public static int hashCode(@Nullable
Object o)
- Performs a safe (null-aware)
Object.hashCode().
- Parameters:
o - object for which to get the hash code, may be null
- Returns:
- the hash code for the object of 0 if the given object is null
Copyright © 1999-2012. All Rights Reserved.