public class ByteArray extends Object
hashCode based on the byte array content.
Important note: The arrays used for creating instances of this class must not be modified as its hash code is cached. See ByteArray(byte[]) for details.| Constructor and Description |
|---|
ByteArray(byte[] bytes)
Creates a new ByteArray from the given bytes.
|
public ByteArray(byte[] bytes)
bytes - The byte arrayCopyright © 2018 trivago. All rights reserved.