Class ByteArrayComparator

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<byte[]>

    public class ByteArrayComparator
    extends java.lang.Object
    implements java.util.Comparator<byte[]>, java.io.Serializable
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(byte[] b1, byte[] b2)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • ByteArrayComparator

        public ByteArrayComparator()
    • Method Detail

      • compare

        public int compare​(byte[] b1,
                           byte[] b2)
        Specified by:
        compare in interface java.util.Comparator<byte[]>