ch.panter.li.bi.asn.value
Class AsnBitString
java.lang.Object
ch.panter.li.bi.asn.AsnValueBase
ch.panter.li.bi.asn.value.AsnSimpleValueBase
ch.panter.li.bi.asn.value.AsnByteArrayValueBase
ch.panter.li.bi.asn.value.AsnBitString
- All Implemented Interfaces:
- BinaryValue, BinaryValueInfo, Validatable, AsnValue
public class AsnBitString
- extends AsnByteArrayValueBase
- implements BinaryValue
AsnBitString
public AsnBitString()
AsnBitString
public AsnBitString(byte[] bits)
AsnBitString
public AsnBitString(byte[] bits,
int bitCount)
AsnBitString
public AsnBitString(AsnType type)
AsnBitString
public AsnBitString(AsnBitString copy)
copyAsnValue
public AsnBitString copyAsnValue()
- Specified by:
copyAsnValue
in interface AsnValue
getContent
public final byte[] getContent()
- Specified by:
getContent
in interface BinaryValueInfo
setContent
public final void setContent(byte[] content)
- Specified by:
setContent
in interface BinaryValue
getBitCount
public final int getBitCount()
getBits
public final byte[] getBits()
setBits
public final void setBits(byte[] bits)
setBits
public final void setBits(byte[] bits,
int bitCount)
getBit
public final boolean getBit(int bitPos)
assign
public void assign(BinaryValue other)
- Specified by:
assign
in interface BinaryValue
isEqualTo
protected boolean isEqualTo(Object compare)
- Overrides:
isEqualTo
in class AsnByteArrayValueBase
computeHashCode
protected int computeHashCode(int baseHash)
- Overrides:
computeHashCode
in class AsnByteArrayValueBase
toString
public String toString()
- Overrides:
toString
in class AsnByteArrayValueBase
Copyright 2007-2007 SourceForge. All Rights Reserved.