org.semanticweb.owlapi.model.ByName Maven / Gradle / Ivy
package org.semanticweb.owlapi.model;
/**
* An interface for things that have an exact mapping by name. This interface
* exists to allow enumerations to be used easily in ConfigurationOptions.
*
* @param type for the interface
*/
@FunctionalInterface
public interface ByName {
/**
* @param name the name to map to an object
* @return the object associated with name
*/
T byName(CharSequence name);
}