/** * Retrieve the ranges from a range axiom. A mixture of axiom types can be passed in. * * @param <C> returned type * @param axiom axiom * @return sub expressions */ public static <C extends OWLObject> C range(OWLAxiom axiom) { return axiom.accept(new RangeVisitor<C>()); }
/** * Retrieve the ranges from a range axiom. A mixture of axiom types can be passed in. * * @param <C> returned type * @param axiom axiom * @param type witness for returned type * @return sub expressions */ public static <C extends OWLObject> C range(OWLAxiom axiom, @SuppressWarnings("unused") Class<C> type) { return axiom.accept(new RangeVisitor<C>()); }
/** * Retrieve the ranges from a range axiom. A mixture of axiom types can be passed in. * * @param <C> returned type * @param axiom axiom * @param type witness for returned type * @return sub expressions */ public static <C extends OWLObject> C range(OWLAxiom axiom, @SuppressWarnings("unused") Class<C> type) { return axiom.accept(new RangeVisitor<C>()); }
/** * Retrieve the ranges from a range axiom. A mixture of axiom types can be passed in. * * @param <C> returned type * @param axiom axiom * @return sub expressions */ public static <C extends OWLObject> C range(OWLAxiom axiom) { return axiom.accept(new RangeVisitor<C>()); }
/** * Retrieve the ranges from a range axiom. A mixture of axiom types can be passed in. * * @param <C> returned type * @param axiom axiom * @param type witness for returned type * @return sub expressions */ public static <C extends OWLObject> C range(OWLAxiom axiom, @SuppressWarnings("unused") Class<C> type) { return axiom.accept(new RangeVisitor<C>()); }
/** * Retrieve the ranges from a range axiom. A mixture of axiom types can be passed in. * * @param <C> returned type * @param axiom axiom * @return sub expressions */ public static <C extends OWLObject> C range(OWLAxiom axiom) { return axiom.accept(new RangeVisitor<C>()); }