Code example for Vector

Methods: elements

0
        throw new IllegalArgumentException("unknown object in getInstance: " + obj.getClass().getName());
    } 
 
    public Enumeration getObjects()
    { 
        return seq.elements();
    } 
 
    public ASN1SequenceParser parser() 
    { 
        final ASN1Sequence outer = this;
 
        return new ASN1SequenceParser() 
        { 
            private final int max = size();
 
            private int index;
 
            public DEREncodable readObject() throws IOException 
            { 
                if (index == max)