Class ByteArrayWrapper

java.lang.Object
org.springframework.data.redis.connection.util.ByteArrayWrapper

public class ByteArrayWrapper extends Object
Simple wrapper class used for wrapping arrays so they can be used as keys inside maps.
Author:
Costin Leau
  • Constructor Details

    • ByteArrayWrapper

      public ByteArrayWrapper(byte[] array)
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getArray

      public byte[] getArray()
      Returns the array.
      Returns:
      Returns the array