Code example for Vector

Methods: elements

     * @return an enumeration of the names of the available curves. 
    public static Enumeration getNames()
        Vector v = new Vector();
        addEnumeration(v, X962NamedCurves.getNames());
        addEnumeration(v, SECNamedCurves.getNames());
        addEnumeration(v, NISTNamedCurves.getNames());
        // BEGIN android-removed 
        // addEnumeration(v, TeleTrusTNamedCurves.getNames()); 
        // END android-removed 
        return v.elements();
    private static void addEnumeration( 
        Vector v, 
        Enumeration e)
Experience pair programming with AI  Get Codota for Java