Class Java9IntHash

  • All Implemented Interfaces:
    IntHash

    public class Java9IntHash
    extends java.lang.Object
    implements IntHash
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static boolean HAS_JAVA9_CRC32C  
    • Constructor Summary

      Constructors 
      Constructor Description
      Java9IntHash()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean acceptsMemoryAddressBuffer()  
      int calculate​(io.netty.buffer.ByteBuf buffer)  
      int calculate​(io.netty.buffer.ByteBuf buffer, int offset, int len)  
      int resume​(int current, byte[] array, int offset, int length)  
      int resume​(int current, io.netty.buffer.ByteBuf buffer)  
      int resume​(int current, io.netty.buffer.ByteBuf buffer, int offset, int len)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • HAS_JAVA9_CRC32C

        static final boolean HAS_JAVA9_CRC32C
    • Constructor Detail

      • Java9IntHash

        public Java9IntHash()
    • Method Detail

      • calculate

        public int calculate​(io.netty.buffer.ByteBuf buffer)
        Specified by:
        calculate 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,
                          byte[] array,
                          int offset,
                          int length)
        Specified by:
        resume in interface IntHash
      • resume

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

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