org.gudy.azureus2.core3.util
Class HashWrapper2
java.lang.Object
org.gudy.azureus2.core3.util.HashWrapper2
public class HashWrapper2
- extends java.lang.Object
This class DOES NOT COPY THE UNDERLYING BYTES AND ONLY SUPPORTS Short.MAX_VALUE bytes
- Author:
- Azureus
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
HashWrapper2
public HashWrapper2(byte[] hash)
HashWrapper2
public HashWrapper2(byte[] _hash,
int _offset,
int _length)
getBytes
public byte[] getBytes()
getOffset
public short getOffset()
getLength
public short getLength()
equals
public final boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object