Code example for HashSet

Methods: add, iterator

0
 
                    public Set<? extends PolicyQualifierInfo> getPolicyQualifiers() {
                        return null; 
                    } 
                }; 
                HashSet<PolicyNode> s = new HashSet<PolicyNode>();
                s.add(child);
                return s.iterator();
            } 
 
            public Set<String> getExpectedPolicies() {
                return null; 
            } 
 
            public Set<? extends PolicyQualifierInfo> getPolicyQualifiers() {
                return null; 
            } 
        }; 
    } 
    // X.509 encoded certificate 
    private static final String ENCODED_X509_CERTIFICATE = "-----BEGIN CERTIFICATE-----\n"