Class EntityFunction<T extends Comparable<?>>