jp.bitmeister.asn1.type
Interface SizeCountable

All Known Implementing Classes:
BIT_STRING, BMPString, CollectionType, GeneralizedTime, GeneralString, GraphicString, IA5String, NumericString, ObjectDescriptor, OCTET_STRING, PrintableString, SEQUENCE_OF, SET_OF, StringType, TeletexString, TimeType, UniversalString, UTCTime, UTF8String, VideotexString, VisibleString

public interface SizeCountable

A class implements this interface indicates that the type has size that can be mearuserd.

If a class implements this interface, it means that the ASN.1 type has size. BIT_STRING, OCTET_STRING, SEQUENCE_OF, SET_OF and sub classes of StringType implements this interface.

Author:
WATANABE, Jun.
See Also:
BIT_STRING, OCTET_STRING, SEQUENCE_OF, SET_OF, StringType

Method Summary
 int size()
          Returns the measured size of this instance.
 

Method Detail

size

int size()
Returns the measured size of this instance.

Returns:
The size.