jsdsi
Class ObjectHash
java.lang.Object
|
+--jsdsi.Obj
|
+--jsdsi.ObjectHash
- All Implemented Interfaces:
- Subject
- public class ObjectHash
- extends Obj
- implements Subject
The cryptographic hash of an object.
- Author:
- Sameer Ajmani
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ObjectHash
public ObjectHash(Hash h)
getHash
public Hash getHash()
isHashOf
public boolean isHashOf(Obj o)
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in class Obj
hashCode
public int hashCode()
- Specified by:
hashCode
in class Obj
toSexp
public SexpList toSexp()
- Specified by:
toSexp
in interface Subject
- Specified by:
toSexp
in class Obj
parseObjectHash
static ObjectHash parseObjectHash(SexpList l)
throws SexpParseException
SexpParseException