be.unamur.inference.ngram.ObjectKeyGenerator Maven / Gradle / Ivy
package be.unamur.inference.ngram;
/**
* Defines methods to uniquely identify a given object.
*
* @author Xavier Devroey - [email protected]
*
* @param The type of the object to identify.
*/
public interface ObjectKeyGenerator {
/**
* Generates a unique key for the given T object.
*
* @param object The T object to identify.
* @return A unique {@link String} for the given object.
*/
public String generateKey(T object);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy