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

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

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

/**
 * Base interface for visitors.
 */
public interface OWLVisitorBase {

    /**
     * @param object object to visit
     * @deprecated use doDefault() instead
     */
    @Deprecated
    default void getDefaultReturnValue(Object object) {
        doDefault(object);
    }

    /**
     * Default action for the visitor.
     *
     * @param object The object that was visited.
     */
    default void doDefault(@SuppressWarnings("unused") Object object) {
    }

    /**
     * default behaviour. Override this method to change the behaviour of all
     * non overridden methods.
     *
     * @param c default parameter
     * @deprecated use doDefault instead.
     */
    @Deprecated
    default void handleDefault(Object c) {
        doDefault(c);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy