All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.semanticweb.owlapi.model.OWLVisitorExBase Maven / Gradle / Ivy

There is a newer version: 5.5.0
Show newest version
package org.semanticweb.owlapi.model;

/**
 * Base interface for visitors that return a value.
 *
 * @param  return value
 */
public interface OWLVisitorExBase {

    /**
     * Gets the default return value for this visitor. By default, the default
     * is {@code null}
     *
     * @param object The object that was visited.
     * @param  type visited
     * @return The default return value
     */
    @SuppressWarnings("null")
    default  O doDefault(@SuppressWarnings("unused") T object) {
        // no other way to provide a default implementation
        return null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy