Interface Extractor

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Extractor
实体类抽取值为map
Author:
Maning
  • Method Summary

    Modifier and Type
    Method
    Description
    extract(Object entity)
    抽取实体类的值为map(key=属性名,value=值)
  • Method Details

    • extract

      Map<String,Object> extract(Object entity)
      抽取实体类的值为map(key=属性名,value=值)
      Parameters:
      entity - 实体类
      Returns:
      键值对