
org.leialearns.utilities.Function Maven / Gradle / Ivy
package org.leialearns.utilities;
/**
* Convenience interface for inline class instances that map values from the domain type to the range type.
* @param The type of the values that are to be mapped
* @param The type of the returned mapped values
*/
public interface Function {
/**
* Return the mapped value for the given object
* @param x The object to map
* @return The mapped value
*/
Range get(Domain x);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy