org.gudy.azureus2.core3.util
Class HashWrapper
java.lang.Object
org.gudy.azureus2.core3.util.HashWrapper
- All Implemented Interfaces:
- ByteArrayWrapper
public class HashWrapper
- extends java.lang.Object
- implements ByteArrayWrapper
- Author:
- Olivier
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
HashWrapper
public HashWrapper(byte[] _hash)
HashWrapper
public HashWrapper(byte[] _hash,
int offset,
int length)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
getHash
public byte[] getHash()
getBytes
public byte[] getBytes()
- Specified by:
getBytes
in interface ByteArrayWrapper
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toBase32String
public java.lang.String toBase32String()
- Specified by:
toBase32String
in interface ByteArrayWrapper