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

com.github.azbh111.utils.java.iterable.model.ObjectSumFunction Maven / Gradle / Ivy

package com.github.azbh111.utils.java.iterable.model;

import java.lang.reflect.Field;

/**
 *
 * @author pyz
 * @date 2019/8/19 11:19 AM
 */
public interface ObjectSumFunction {
    /**
     *
     * @param field 字段
     * @param currentValue 当前的合计值
     * @param item 元素
     * @param appendValue 元素字段值
     * @return
     */
    Object sum(Field field, Object currentValue, T item, Object appendValue);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy