public class MD5Key
extends java.lang.Object
equals(Object) method for objects whose natural method might
be computationally expensive.
Instances are immutable.
| Constructor and Description |
|---|
MD5Key(java.lang.Object obj)
Constructs from an object.
|
MD5Key(java.lang.Object[] objs)
Constructs from an array of objects.
|
public MD5Key(java.lang.Object obj)
throws java.io.IOException
obj - The object to have an MD5 checksum computed for
it.java.io.IOException - Couldn't compute MD5 checksum.public MD5Key(java.lang.Object[] objs)
throws java.io.IOException
objs - The objects to have an MD5 checksum computed for
them.java.io.IOException - Couldn't compute MD5 checksum.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The other object.true if and only if this instance
is semantically identical to the other object.public int hashCode()
hashCode in class java.lang.Object