@Override public Boolean visit(IndexedObjectIntersectionOfMatch other) { return equals(other.getFullValue(), match.getFullValue()) && equals(other.getPrefixLength(), match.getPrefixLength()); } });
@Override public Integer visit(final IndexedObjectIntersectionOfMatch match) { return combinedHashCode( hashCode(IndexedObjectIntersectionOfMatch.class), hashCode(match.getFullValue()), hashCode(match.getPrefixLength())); }
@Override protected Integer defaultVisit(final SubsumerElkObjectMatch match) { return combinedHashCode(hashCode(SubsumerElkObjectMatch.class), hashCode(match.getValue())); }
public static boolean equals(SubsumerMatch first, SubsumerMatch second) { return first.accept(new SubsumerMatchEquality(second)); }
@Override public IndexedContextRootMatch visit( IndexedRangeFiller element) { return premiseSuperExpressionMatch_ .getRangeRootMatch(factory); }
public IndexedClassEntityMatch getSubsumerIndexedClassEntityMatch() { return subsumerMatch_ .accept(new FailingSubsumerMatcher<IndexedClassEntityMatch>() { @Override public IndexedClassEntityMatch defaultVisit( IndexedClassEntityMatch match) { return match; } }); }
@Override public int hashCode() { if (hashCode_ == 0) { hashCode_ = SubsumerMatchHash.hashCode(this); } // else return hashCode_; }
@Override public Integer visit(final IndexedObjectIntersectionOfMatch match) { return combinedHashCode( hashCode(IndexedObjectIntersectionOfMatch.class), hashCode(match.getFullValue()), hashCode(match.getPrefixLength())); }
@Override public Boolean visit(IndexedObjectIntersectionOfMatch other) { return equals(other.getFullValue(), match.getFullValue()) && equals(other.getPrefixLength(), match.getPrefixLength()); } });
@Override protected Integer defaultVisit(final SubsumerElkObjectMatch match) { return combinedHashCode(hashCode(SubsumerElkObjectMatch.class), hashCode(match.getValue())); }
public static boolean equals(SubsumerMatch first, SubsumerMatch second) { return first.accept(new SubsumerMatchEquality(second)); }
@Override public IndexedContextRootMatch visit( IndexedRangeFiller element) { return premiseSuperExpressionMatch_ .getRangeRootMatch(factory); }
@Override public Boolean visit(final IndexedObjectIntersectionOfMatch match) { return other_.accept(new DefaultVisitor() { @Override public Boolean visit(IndexedObjectIntersectionOfMatch other) { return equals(other.getFullValue(), match.getFullValue()) && equals(other.getPrefixLength(), match.getPrefixLength()); } }); }
@Override public Integer visit(final IndexedObjectIntersectionOfMatch match) { return combinedHashCode( hashCode(IndexedObjectIntersectionOfMatch.class), hashCode(match.getFullValue()), hashCode(match.getPrefixLength())); }
@Override public Boolean visit(IndexedObjectIntersectionOfMatch other) { return equals(other.getFullValue(), match.getFullValue()) && equals(other.getPrefixLength(), match.getPrefixLength()); } });
@Override protected Integer defaultVisit(final SubsumerElkObjectMatch match) { return combinedHashCode(hashCode(SubsumerElkObjectMatch.class), hashCode(match.getValue())); }
@Override public IndexedContextRootMatch visit( IndexedRangeFiller element) { return premiseSuperExpressionMatch_ .getRangeRootMatch(factory); }