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

edu.stanford.protege.webprotege.object.OWLObjectSelector Maven / Gradle / Ivy

The newest version!
package edu.stanford.protege.webprotege.object;

import org.semanticweb.owlapi.model.OWLObject;

import java.util.Optional;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 31/01/15
 */
public interface OWLObjectSelector {

    /**
     * Selects an {@link OWLObject} from the iterable of objects.
     * @param objects The iterable of objects.  Not {@code null}.  Note, that the iterable may not contain any
     *                objects.
     * @return A (possibly absent) choice from the objects.  Not {@code null}.
     */
    Optional selectOne(Iterable objects);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy