protected int compareObjectOfSameType(OWLObject object) { OWLObjectComplementOf other = (OWLObjectComplementOf) object; return operand.compareTo(other.getOperand()); } }
@Override protected int compareObjectOfSameType(OWLObject object) { OWLObjectComplementOf other = (OWLObjectComplementOf) object; return operand.compareTo(other.getOperand()); } }
@Override protected int compareObjectOfSameType(OWLObject object) { OWLObjectComplementOf other = (OWLObjectComplementOf) object; return operand.compareTo(other.getOperand()); } }
protected int compareObjectOfSameType(OWLObject object) { OWLHasKeyAxiom other = (OWLHasKeyAxiom) object; int diff = expression.compareTo(other.getClassExpression()); if (diff != 0) { return diff; } return compareSets(propertyExpressions, other.getPropertyExpressions()); }
@Override protected int compareObjectOfSameType(OWLObject object) { OWLHasKeyAxiom other = (OWLHasKeyAxiom) object; int diff = expression.compareTo(other.getClassExpression()); if (diff != 0) { return diff; } return compareSets(propertyExpressions, other.getPropertyExpressions()); }
@Override protected int compareObjectOfSameType(OWLObject object) { OWLHasKeyAxiom other = (OWLHasKeyAxiom) object; int diff = expression.compareTo(other.getClassExpression()); if (diff != 0) { return diff; } return compareSets(propertyExpressions, other.getPropertyExpressions()); }
@Override protected int compareObjectOfSameType(OWLObject object) { OWLPropertyDomainAxiom<?> other = (OWLPropertyDomainAxiom<?>) object; int diff = getProperty().compareTo(other.getProperty()); if (diff != 0) { return diff; } return domain.compareTo(other.getDomain()); } }
protected int compareObjectOfSameType(OWLObject object) { OWLPropertyDomainAxiom other = (OWLPropertyDomainAxiom) object; int diff = getProperty().compareTo(other.getProperty()); if (diff != 0) { return diff; } return diff = domain.compareTo(other.getDomain()); } }
@Override protected int compareObjectOfSameType(OWLObject object) { OWLPropertyDomainAxiom<?> other = (OWLPropertyDomainAxiom<?>) object; int diff = getProperty().compareTo(other.getProperty()); if (diff != 0) { return diff; } return domain.compareTo(other.getDomain()); } }
protected int compareObjectOfSameType(OWLObject object) { OWLClassAssertionAxiom otherAx = (OWLClassAssertionAxiom) object; int diff = getIndividual().compareTo(otherAx.getIndividual()); if (diff != 0) { return diff; } else { return getClassExpression().compareTo(otherAx.getClassExpression()); } }
@Override protected int compareObjectOfSameType(OWLObject object) { OWLQuantifiedObjectRestriction other = (OWLQuantifiedObjectRestriction) object; int diff = getProperty().compareTo(other.getProperty()); if (diff != 0) { return diff; } return getFiller().compareTo(other.getFiller()); }
@Override protected int compareObjectOfSameType(OWLObject object) { OWLClassAssertionAxiom otherAx = (OWLClassAssertionAxiom) object; int diff = getIndividual().compareTo(otherAx.getIndividual()); if (diff != 0) { return diff; } else { return getClassExpression().compareTo(otherAx.getClassExpression()); } } }
protected int compareObjectOfSameType(OWLObject object) { SWRLClassAtom other = (SWRLClassAtom) object; int diff = getPredicate().compareTo(other.getPredicate()); if(diff != 0) { return diff; } return getArgument().compareTo(other.getArgument()); } }
@Override protected int compareObjectOfSameType(OWLObject object) { @SuppressWarnings("unchecked") OWLQuantifiedRestriction<OWLClassExpression, OWLObjectPropertyExpression, OWLClassExpression> other = (OWLQuantifiedRestriction<OWLClassExpression, OWLObjectPropertyExpression, OWLClassExpression>) object; int diff = getProperty().compareTo(other.getProperty()); if(diff != 0) { return diff; } return getFiller().compareTo(other.getFiller()); }
@Override protected int compareObjectOfSameType(OWLObject object) { SWRLClassAtom other = (SWRLClassAtom) object; int diff = getPredicate().compareTo(other.getPredicate()); if (diff != 0) { return diff; } return getArgument().compareTo(other.getArgument()); } }
@Override protected int compareObjectOfSameType(OWLObject object) { SWRLClassAtom other = (SWRLClassAtom) object; int diff = getPredicate().compareTo(other.getPredicate()); if (diff != 0) { return diff; } return getArgument().compareTo(other.getArgument()); } }
@Override protected int compareObjectOfSameType(OWLObject object) { OWLClassAssertionAxiom otherAx = (OWLClassAssertionAxiom) object; int diff = getIndividual().compareTo(otherAx.getIndividual()); if (diff != 0) { return diff; } else { return getClassExpression().compareTo(otherAx.getClassExpression()); } } }