Package com.oss.asn1

Class AbstractCollection

java.lang.Object
com.oss.asn1.AbstractData
com.oss.asn1.AbstractCollection
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
Sequence, Set

public abstract class AbstractCollection extends AbstractData
The AbstractCollection class is the superclass of Sequence and Set classes.
Since:
ASN.1/Java 1.0-beta A
See Also:
  • Method Details

    • enumeratedComponents

      public final Enumeration enumeratedComponents()
      Get all the components in the collection. The application code will be responsible for examining the flags in the FieldInfo while doing the lookup.
      Returns:
      enumeration of the collection components
    • clone

      public Object clone()
      Clone 'this' object.
      Overrides:
      clone in class AbstractData
      Returns:
      deep copy of 'this' object.
    • hashCode

      public int hashCode()
      Returns a hash code for this object
      Overrides:
      hashCode in class AbstractData
      Returns:
      a hash code for this object
    • delete

      public void delete()
      Destroy the instance of the AbstractData. The contract of this method is to facilitate garbage collection by explicit destruction of the data that is no longer needed.
      Overrides:
      delete in class AbstractData