Class ByteArrayWrapper

java.lang.Object
org.springframework.data.redis.connection.util.ByteArrayWrapper
All Implemented Interfaces:
Comparable<ByteArrayWrapper>

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

    • ByteArrayWrapper

      public ByteArrayWrapper(ByteBuffer buffer)
    • ByteArrayWrapper

      public ByteArrayWrapper(byte[] array)
  • Method Details