@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        else if (!(obj instanceof GenericList))
            return false;
        
        GenericList gl = (GenericList) obj;
        
        return (quotes == gl.quotes) && varname.equals(gl.varname) && list.equals(gl.list);
    }