Interface IndexedFunction<T,​R>