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

org.opentripplanner.routing.util.UniqueIdGenerator Maven / Gradle / Ivy

package org.opentripplanner.routing.util;

/**
 * Interface for something that generates integer identifiers.
 * 
 * @author avi
 */
public interface UniqueIdGenerator {
    
    /**
     * Generates the identifier. May consider the element.
     * 
     * @param elem
     * @return
     */
    public int getId(T elem);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy