@Override protected int compareObjectOfSameType(OWLObject object) { OWLAnnotation other = (OWLAnnotation) object; int diff = getProperty().compareTo(other.getProperty()); if (diff != 0) { return diff; } else { return getValue().compareTo(other.getValue()); } }
protected int compareObjectOfSameType(OWLObject object) { OWLAnnotationAssertionAxiom other = (OWLAnnotationAssertionAxiom) object; int diff = 0; diff = subject.compareTo(other.getSubject()); if (diff != 0) { return diff; } diff = property.compareTo(other.getProperty()); if(diff != 0) { return diff; } return value.compareTo(other.getValue()); }
@Override protected int compareObjectOfSameType(OWLObject object) { OWLAnnotationAssertionAxiom other = (OWLAnnotationAssertionAxiom) object; int diff = subject.compareTo(other.getSubject()); if (diff != 0) { return diff; } diff = property.compareTo(other.getProperty()); if (diff != 0) { return diff; } return value.compareTo(other.getValue()); }
@Override protected int compareObjectOfSameType(OWLObject object) { OWLAnnotation other = (OWLAnnotation) object; int diff = getProperty().compareTo(other.getProperty()); if (diff != 0) { return diff; } else { return getValue().compareTo(other.getValue()); } }
protected int compareObjectOfSameType(OWLObject object) { OWLAnnotation other = (OWLAnnotation) object; int diff = getProperty().compareTo(other.getProperty()); if (diff != 0) { return diff; } else { return getValue().compareTo(other.getValue()); } }
@Override protected int compareObjectOfSameType(OWLObject object) { OWLAnnotationAssertionAxiom other = (OWLAnnotationAssertionAxiom) object; int diff = 0; diff = subject.compareTo(other.getSubject()); if (diff != 0) { return diff; } diff = property.compareTo(other.getProperty()); if (diff != 0) { return diff; } return value.compareTo(other.getValue()); }