public boolean equals()

in commons-rdf-jena/src/main/java/org/apache/commons/rdf/jena/impl/JenaTripleImpl.java [46:59]


    public boolean equals(final Object other) {
        if (other == this) {
            return true;
        }
        if (other == null) {
            return false;
        }
        if (!(other instanceof Triple)) {
            return false;
        }
        final Triple triple = (Triple) other;
        return getSubject().equals(triple.getSubject()) && getPredicate().equals(triple.getPredicate())
                && getObject().equals(triple.getObject());
    }