((collections==null && other.getCollections()==null) || (collections!=null && java.util.Arrays.equals(collections, other.getCollections()))) && ((resources==null && other.getResources()==null) || (resources!=null && java.util.Arrays.equals(resources, other.getResources())));
((this.collections==null && other.getCollections()==null) || (this.collections!=null && java.util.Arrays.equals(this.collections, other.getCollections()))) && ((this.resources==null && other.getResources()==null) || (this.resources!=null && java.util.Arrays.equals(this.resources, other.getResources())));
    public synchronized boolean equals(java.lang.Object obj) {        if (!(obj instanceof Collection)) return false;        Collection other = (Collection) obj;        if (obj == null) return false;        if (this == obj) return true;        if (__equalsCalc != null) {            return (__equalsCalc == obj);        }        __equalsCalc = obj;        boolean _equals;        _equals = true &&             ((collections==null && other.getCollections()==null) ||              (collections!=null &&              java.util.Arrays.equals(collections, other.getCollections()))) &&            ((resources==null && other.getResources()==null) ||              (resources!=null &&              java.util.Arrays.equals(resources, other.getResources())));        __equalsCalc = null;        return _equals;    }