Class ByteBufUtil.SWARByteSearch

  • Enclosing class:
    ByteBufUtil

    private static final class ByteBufUtil.SWARByteSearch
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SWARByteSearch()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static long compilePattern​(byte byteToFind)  
      private static int firstAnyPattern​(long word, long pattern, boolean leading)  
      • Methods inherited from class java.lang.Object

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

      • SWARByteSearch

        private SWARByteSearch()
    • Method Detail

      • compilePattern

        private static long compilePattern​(byte byteToFind)
      • firstAnyPattern

        private static int firstAnyPattern​(long word,
                                           long pattern,
                                           boolean leading)