Example usage for io.netty.buffer ByteBufUtil hashCode

List of usage examples for io.netty.buffer ByteBufUtil hashCode

Introduction

In this page you can find the example usage for io.netty.buffer ByteBufUtil hashCode.

Prototype

public static int hashCode(ByteBuf buffer) 

Source Link

Document

Calculates the hash code of the specified buffer.

Usage

From source file:net.tomp2p.storage.AlternativeCompositeByteBuf.java

License:Apache License

@Override
public int hashCode() {
    return ByteBufUtil.hashCode(this);
}