public boolean equals()

in web/src/main/java/org/apache/commons/chain2/web/MapEntry.java [101:110]


    public boolean equals(Object o) {
        if (o instanceof Map.Entry) {
            Map.Entry<?, ?> entry = (Map.Entry<?, ?>) o;
            return (this.getKey() == null ?
                    entry.getKey() == null : this.getKey().equals(entry.getKey()))  &&
                   (this.getValue() == null ?
                    entry.getValue() == null : this.getValue().equals(entry.getValue()));
        }
        return false;
    }