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

edu.stanford.smi.protege.util.SuperclassTraverser Maven / Gradle / Ivy

Go to download

Core code for the Protege ontology editor. Serves as the basis for the Protege-Frames and Protege-OWL editors.

There is a newer version: 3.5.1
Show newest version
package edu.stanford.smi.protege.util;

import edu.stanford.smi.protege.model.*;

/**
 * 
 * @author Ray Fergerson 
 */
public class SuperclassTraverser implements Traverser {
    public Object get(Object o) {
        return CollectionUtilities.getFirstItem(((Cls) o).getDirectSuperclasses());
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy