return (DocumentEvent.ElementChange) changes.get(elem);
DocumentEvent.ElementChange change = null; if (changes != null) { change = (DocumentEvent.ElementChange) changes.get(elem); } else { int count = edits.size(); for (int i = 0; i < count && change == null; i++) { Object o = edits.get(i); if (o instanceof DocumentEvent.ElementChange) { DocumentEvent.ElementChange ec = (DocumentEvent.ElementChange) o; if (elem.equals(ec.getElement())) change = ec; } } } return change;
    public DocumentEvent.ElementChange getChange(Element elem)    {      // XXX - Fully qualify ElementChange to work around gcj bug #2499.      return (DocumentEvent.ElementChange) changes.get(elem);    }