public CascadedStyle(java.util.Iterator iter) {
CascadedStyle(java.util.Iterator iter) {
    public CascadedStyle(java.util.Iterator iter) {        this();        //do a bucket-sort on importance and origin        //properties should already be in order of specificity        java.util.List[] buckets = new java.util.List[PropertyDeclaration.IMPORTANCE_AND_ORIGIN_COUNT];        for (int i = 0; i < buckets.length; i++) {            buckets[i] = new java.util.LinkedList();        }        while (iter.hasNext()) {            PropertyDeclaration prop = (PropertyDeclaration) iter.next();            buckets[prop.getImportanceAndOrigin()].add(prop);        }        for (int i = 0; i < buckets.length; i++) {            for (java.util.Iterator it = buckets[i].iterator(); it.hasNext();) {                PropertyDeclaration prop = (PropertyDeclaration) it.next();                _cascadedPropertiesByID[prop.getCSSName().getAssignedID()] = prop;            }        }    }