Class Utils.ByteArrayKey

  • Enclosing class:
    Utils

    public static class Utils.ByteArrayKey
    extends java.lang.Object
    A wrapper of byte[] that can be used as a hash-map key.
    • Constructor Summary

      Constructors 
      Constructor Description
      ByteArrayKey​(byte[] value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(@Nullable java.lang.Object o)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • ByteArrayKey

        public ByteArrayKey​(@Nonnull
                            byte[] value)
    • Method Detail

      • equals

        public boolean equals​(@Nullable java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object