org.infinispan.schematic.document
Class Binary
java.lang.Object
org.infinispan.schematic.document.Binary
@Immutable
@SerializeWith(value=Binary.Externalizer.class)
public final class Binary
- extends Object
A binary
value for use within a BSON Object
.
- Since:
- 5.1
Constructor Summary |
Binary(byte[] data)
|
Binary(byte type,
byte[] data)
|
Binary
public Binary(byte[] data)
Binary
public Binary(byte type,
byte[] data)
getType
public byte getType()
getBytes
public byte[] getBytes()
length
public int length()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getBytesInBase64
public String getBytesInBase64()
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.