@Override public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof TriplePattern)) { return false; } final TriplePattern other = (TriplePattern) obj; if (!this.subject.equals(other.getSubject())) { return false; } if (!this.predicate.equals(other.getPredicate())) { return false; } if (!this.object.equals(other.getObject())) { return false; } return true; }
@Override public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof PropertyPathPattern)) { return false; } final PropertyPathPattern other = (PropertyPathPattern) obj; if (!this.subject.equals(other.getSubject())) { return false; } if (!this.propertyPathExpression.equals(other.getPropertyPathExpression())) { return false; } if (!this.object.equals(other.getObject())) { return false; } return true; }
@Override public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof TriplePattern)) { return false; } final TriplePattern other = (TriplePattern) obj; if (!this.subject.equals(other.getSubject())) { return false; } if (!this.predicate.equals(other.getPredicate())) { return false; } if (!this.object.equals(other.getObject())) { return false; } return true; }
@Override public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof PropertyPathPattern)) { return false; } final PropertyPathPattern other = (PropertyPathPattern) obj; if (!this.subject.equals(other.getSubject())) { return false; } if (!this.propertyPathExpression.equals(other.getPropertyPathExpression())) { return false; } if (!this.object.equals(other.getObject())) { return false; } return true; }