this.isLeaf == other.isIsLeaf() &&
((this.isLeaf==null && other.getIsLeaf()==null) || (this.isLeaf!=null && this.isLeaf.equals(other.getIsLeaf()))) &&
    public synchronized boolean equals(java.lang.Object obj) {        if (!(obj instanceof TOC)) return false;        TOC other = (TOC) obj;        if (obj == null) return false;        if (this == obj) return true;        if (__equalsCalc != null) {            return (__equalsCalc == obj);        }        __equalsCalc = obj;        boolean _equals;        _equals = true &&             ((this.id==null && other.getId()==null) ||              (this.id!=null &&              this.id.equals(other.getId()))) &&            ((this.displayName==null && other.getDisplayName()==null) ||              (this.displayName!=null &&              this.displayName.equals(other.getDisplayName()))) &&            ((this.bookmark==null && other.getBookmark()==null) ||              (this.bookmark!=null &&              this.bookmark.equals(other.getBookmark()))) &&            this.isLeaf == other.isIsLeaf() &&            ((this.child==null && other.getChild()==null) ||              (this.child!=null &&              java.util.Arrays.equals(this.child, other.getChild())));        __equalsCalc = null;        return _equals;    }