/** * @param f filter lambda * @param types axiom types to filter on */ public AxiomFilter(Filter<A> f, AxiomType<?>... types) { this.types = CollectionFactory.list(types); filter = f; }
/** * @param type axiom type to filter on * @param f filter lambda */ public AxiomFilter(AxiomType<?> type, Filter<A> f) { types = CollectionFactory.<AxiomType<?>>list(type); filter = f; }
/** * @param f filter lambda * @param types axiom types to filter on */ public AxiomFilter(Filter<A> f, AxiomType<?>... types) { this.types = CollectionFactory.list(types); filter = f; }
/** * @param type axiom type to filter on * @param f filter lambda */ public AxiomFilter(AxiomType<?> type, Filter<A> f) { types = CollectionFactory.<AxiomType<?>>list(type); filter = f; }
/** * @param f filter lambda * @param types axiom types to filter on */ public AxiomFilter(Filter<A> f, AxiomType<?>... types) { this.types = CollectionFactory.list(types); filter = f; }
/** * @param type axiom type to filter on * @param f filter lambda */ public AxiomFilter(AxiomType<?> type, Filter<A> f) { types = CollectionFactory.<AxiomType<?>>list(type); filter = f; }
/** * Apply the change. * * @param change the change */ protected void apply(OWLOntologyChange change) { apply(CollectionFactory.list(change)); }
@Override public ChangeApplied applyChange(OWLOntologyChange change) { // Write lock not needed at this point return applyChanges(list(change)); }
/** * Apply the change. * * @param change the change */ protected void apply(OWLOntologyChange change) { apply(CollectionFactory.list(change)); }
/** * Apply the change. * * @param change the change */ protected void apply(OWLOntologyChange change) { apply(CollectionFactory.list(change)); }
@Override public ChangeApplied applyChange(OWLOntologyChange change) { // Write lock not needed at this point return applyChanges(list(change)); }
@Override public ChangeApplied applyChange(OWLOntologyChange change) { // Write lock not needed at this point return applyChanges(list(change)); }
@Override public ChangeApplied applyChange(OWLOntologyChange change) { // Write lock not needed at this point return applyChanges(list(change)); }
/** * Apply the change. * * @param change the change */ protected void apply(OWLOntologyChange change) { apply(CollectionFactory.list(change)); }
Profiles(String name, String... supportingFactories) { iri = IRI.create("http://www.w3.org/ns/owl-profile/", name); this.supportingFactories = CollectionFactory.list(supportingFactories); }
private static List<ResourceTripleHandler> getResourceTripleHandlers(OWLRDFConsumer r) { return CollectionFactory.list( (ResourceTripleHandler) new GTPObjectPropertyAssertionHandler(r), new GTPAnnotationResourceTripleHandler(r)); }
private static List<ResourceTripleHandler> getResourceTripleHandlers(OWLRDFConsumer r) { return CollectionFactory.list( (ResourceTripleHandler) new GTPObjectPropertyAssertionHandler(r), new GTPAnnotationResourceTripleHandler(r)); }
private static List<ResourceTripleHandler> getResourceTripleHandlers(OWLRDFConsumer r) { return CollectionFactory.list( (ResourceTripleHandler) new GTPObjectPropertyAssertionHandler(r), new GTPAnnotationResourceTripleHandler(r)); }
@Override public ChangeApplied addAxiom(OWLOntology ont, OWLAxiom axiom) { return applyChanges(list(new AddAxiom(ont, axiom))); }
private static List<InferredAxiomGenerator<? extends OWLAxiom>> generators() { return CollectionFactory.<InferredAxiomGenerator<? extends OWLAxiom>>list( new InferredClassAssertionAxiomGenerator(), new InferredDataPropertyCharacteristicAxiomGenerator(), new InferredEquivalentClassAxiomGenerator(), new InferredEquivalentDataPropertiesAxiomGenerator(), new InferredEquivalentObjectPropertyAxiomGenerator(), new InferredInverseObjectPropertiesAxiomGenerator(), new InferredObjectPropertyCharacteristicAxiomGenerator(), new InferredPropertyAssertionGenerator(), new InferredSubClassAxiomGenerator(), new InferredSubDataPropertyAxiomGenerator(), new InferredSubObjectPropertyAxiomGenerator()); }