bees.core
Class TypeID
java.lang.Object
|
+--bees.core.TypeID
- All Implemented Interfaces:
- java.lang.Cloneable, edu.utah.janosvm.sys.CrossTeamCloneable
- public final class TypeID
- extends java.lang.Object
- implements java.lang.Cloneable, edu.utah.janosvm.sys.CrossTeamCloneable
A TypeID is used to wrap the result of an MD5 hash.
- See Also:
MD5
Constructor Summary |
TypeID(byte[] hash)
Construct a TypeID with the given value. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
TypeID
public TypeID(byte[] hash)
- Construct a TypeID with the given value.
- Parameters:
hash
- The MD5 hash bytes to be cloned and wrapped by the object.
cloneHash
public byte[] cloneHash()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
toPlainString
public java.lang.String toPlainString()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/