Class Utils


  • public class Utils
    extends java.lang.Object
    Various utility functions for Hadoop record I/O runtime.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int compareBytes​(byte[] b1, int off1, int len1, byte[] b2, int off2, int len2)  
      • Methods inherited from class java.lang.Object

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

      • compareBytes

        public static int compareBytes​(byte[] b1,
                                       int off1,
                                       int len1,
                                       byte[] b2,
                                       int off2,
                                       int len2)