@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; AggDatasetGraph other = (AggDatasetGraph) obj; if (quadPattern == null) { if (other.quadPattern != null) return false; } else if (!quadPattern.equals(other.quadPattern)) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; ViewTemplateDefinition other = (ViewTemplateDefinition) obj; if (constructTemplate == null) { if (other.constructTemplate != null) return false; } else if (!constructTemplate.equals(other.constructTemplate)) return false; if (varBindings == null) { if (other.varBindings != null) return false; } else if (!varBindings.equals(other.varBindings)) return false; return true; } }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; ViewTemplateDefinition other = (ViewTemplateDefinition) obj; if (constructTemplate == null) { if (other.constructTemplate != null) return false; } else if (!constructTemplate.equals(other.constructTemplate)) return false; if (varBindings == null) { if (other.varBindings != null) return false; } else if (!varBindings.equals(other.varBindings)) return false; return true; } }
@Override public Op transform(OpQuadBlock op) { QuadPattern before = op.getPattern(); QuadPattern after = deduplicate(before); Op result = after.equals(before) ? op : new OpQuadBlock(after); return result; }
@Override public Op transform(OpQuadBlock op) { QuadPattern before = op.getPattern(); QuadPattern after = deduplicate(before); Op result = after.equals(before) ? op : new OpQuadBlock(after); return result; }