org.mpisws.p2p.transport.peerreview.history.stub
Class NullHashProvider
java.lang.Object
org.mpisws.p2p.transport.peerreview.history.stub.NullHashProvider
- All Implemented Interfaces:
- HashProvider
public class NullHashProvider
- extends java.lang.Object
- implements HashProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_HASH
public static final NullHash EMPTY_HASH
NullHashProvider
public NullHashProvider()
hash
public Hash hash(long seq,
short type,
Hash nodeHash,
Hash contentHash)
- Specified by:
hash
in interface HashProvider
hash
public Hash hash(java.nio.ByteBuffer... hashMe)
- Specified by:
hash
in interface HashProvider
build
public Hash build(InputBuffer buf)
- Specified by:
build
in interface HashProvider
getEmpty
public Hash getEmpty()
- Specified by:
getEmpty
in interface HashProvider
getSerizlizedSize
public int getSerizlizedSize()
- Specified by:
getSerizlizedSize
in interface HashProvider
build
public Hash build(byte[] hashBytes,
int start,
int length)
- Specified by:
build
in interface HashProvider
Copyright © 2001-2005 - Rice Pastry.