/** * @param value new value for trim to size * @return An {@code OntologyConfigurator} with the new option set. */ public OWLOntologyLoaderConfiguration setTrimToSize(boolean value) { if (shouldTrimToSize() == value) { return this; } OWLOntologyLoaderConfiguration configuration = copyConfiguration(); configuration.overrides.put(TRIM_TO_SIZE, Boolean.valueOf(value)); return configuration; } }
/** * @param value new value for trim to size * @return An {@code OntologyConfigurator} with the new option set. */ public OWLOntologyLoaderConfiguration setTrimToSize(boolean value) { if (shouldTrimToSize() == value) { return this; } OWLOntologyLoaderConfiguration configuration = copyConfiguration(); configuration.overrides.put(TRIM_TO_SIZE, Boolean.valueOf(value)); return configuration; } }
/** * @param value new value for trim to size * @return An {@code OntologyConfigurator} with the new option set. */ public OWLOntologyLoaderConfiguration setTrimToSize(boolean value) { if (shouldTrimToSize() == value) { return this; } OWLOntologyLoaderConfiguration configuration = copyConfiguration(); configuration.overrides.put(TRIM_TO_SIZE, Boolean.valueOf(value)); return configuration; } }
if (ontology instanceof HasTrimToSize && configuration.shouldTrimToSize()) { ((HasTrimToSize) ontology).trimToSize();
if (ontology instanceof HasTrimToSize && configuration.shouldTrimToSize()) { ((HasTrimToSize) ontology).trimToSize();
if (ontology instanceof HasTrimToSize && configuration.shouldTrimToSize()) { ((HasTrimToSize) ontology).trimToSize();
if (ontology instanceof HasTrimToSize && configuration.shouldTrimToSize()) { ((HasTrimToSize) ontology).trimToSize();