package com.modulus.access;
/**
* Any kind of function that takes an array of type E
* and returns an object of type T.
*
* Usually, the return type and the argument types are the same type.
*
* @author jrahm
*
* @param the return type of this function
* @param the argument type of the function
*/
public interface ArrayFunction< T, E > {
/**
* Executes this function using the arguments args
* and returns an object of type T
*
* @param args the arguments to execute this function with.
* @return some value of type T
*/
public T execute( E[] args );
}