Class Java8IntHash

java.lang.Object
com.scurrilous.circe.checksum.Java8IntHash
All Implemented Interfaces:
IntHash

public class Java8IntHash extends Object implements IntHash
  • Constructor Details

    • Java8IntHash

      public Java8IntHash()
  • Method Details

    • calculate

      public int calculate(io.netty.buffer.ByteBuf buffer)
      Specified by:
      calculate in interface IntHash
    • resume

      public int resume(int current, io.netty.buffer.ByteBuf buffer)
      Specified by:
      resume in interface IntHash
    • calculate

      public int calculate(io.netty.buffer.ByteBuf buffer, int offset, int len)
      Specified by:
      calculate in interface IntHash
    • resume

      public int resume(int current, io.netty.buffer.ByteBuf buffer, int offset, int len)
      Specified by:
      resume in interface IntHash
    • resume

      public int resume(int current, byte[] buffer, int offset, int len)
      Specified by:
      resume in interface IntHash
    • acceptsMemoryAddressBuffer

      public boolean acceptsMemoryAddressBuffer()
      Specified by:
      acceptsMemoryAddressBuffer in interface IntHash