@Override default int compareTo(Object o) { if (o instanceof NotificationFilter) { NotificationFilter other = (NotificationFilter) o; return other.getPriority() - this.getPriority(); } return 0; } }
@Override default int compareTo(Object o) { if (o instanceof NotificationFilter) { NotificationFilter other = (NotificationFilter) o; return other.getPriority() - this.getPriority(); } return 0; } }