org.springframework.data.keyvalue.redis.connection.util
Class ByteArrayWrapper
java.lang.Object
org.springframework.data.keyvalue.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
ByteArrayWrapper
public ByteArrayWrapper(byte[] array)
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
Copyright © 2010-2011 SpringSource. All Rights Reserved.