class Elements implements List<Element>, Cloneable {

    public List<FormElement> forms() {
        ArrayList<FormElement> forms = new ArrayList<FormElement>();
        for (Element el: contents)
            if (el instanceof FormElement)
                forms.add((FormElement) el);
        return forms;
    }

    public  Elements();
    public  Elements(int initialCapacity);
    public  Elements(Collection<Element> elements);
    public  Elements(List<Element> elements);
    public  Elements(Element... elements);

}