Class BinaryConstant
- java.lang.Object
-
- org.apache.commons.imaging.common.BinaryConstant
-
public class BinaryConstant extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]value
-
Constructor Summary
Constructors Constructor Description BinaryConstant(byte[] value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryConstantclone()booleanequals(byte[] bytes)booleanequals(byte[] bytes, int offset, int length)booleanequals(java.lang.Object obj)byteget(int i)inthashCode()intsize()byte[]toByteArray()voidwriteTo(java.io.OutputStream os)
-
-
-
Method Detail
-
clone
public BinaryConstant clone() throws java.lang.CloneNotSupportedException
- Overrides:
clonein classjava.lang.Object- Throws:
java.lang.CloneNotSupportedException
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
equals
public boolean equals(byte[] bytes)
-
equals
public boolean equals(byte[] bytes, int offset, int length)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
get
public byte get(int i)
-
size
public int size()
-
toByteArray
public byte[] toByteArray()
-
writeTo
public void writeTo(java.io.OutputStream os) throws java.io.IOException- Throws:
java.io.IOException
-
-