Interface ExcelMapper<INPUT,OUTPUT>

Type Parameters:
INPUT - type of input of the mapper
OUTPUT - type of output of the mapper
All Superinterfaces:
Function<INPUT,Collection<OUTPUT>>
All Known Subinterfaces:
ToAttributeDescriptorsMapper<INPUT>, ToExcelAttributesMapper<INPUT,ATTRIBUTE>
All Known Implementing Classes:
ChainMapper, FromAttributeDescriptorsToExcelAttributesMapper, FromComposedTypeToAttributeDescriptorsMapper, FromExcelResultToAttributeDescriptorsMapper, FromTypeCodeToAttributeDescriptorsMapper, JoinMapper
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 ExcelMapper<INPUT,OUTPUT> extends Function<INPUT,Collection<OUTPUT>>
Abstraction which can map given INPUT to Collection of OUTPUT type
  • Method Details

    • filter

      default boolean filter(OUTPUT output, Collection<ExcelFilter<OUTPUT>> filters)
      Allows to filter result of the mapping.
      Parameters:
      output - single result of the mapping
      filters - collection of filters
      Returns:
      whether the given value meets the filter criteria or not