Toggle navigation
Home
org.apache.james.util.FunctionGenerator to java.util.function.BiFunction
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'james-project'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Other
patch -> applyPatchForField(CassandraVacationTable.SUBJECT,patch.getSubject())
to
vacation
Add or Remove Method invocation
ImmutableList.<FunctionGenerator<VacationPatch,Insert>>of(vacation,patch -> applyPatchForField(CassandraVacationTable.HTML,patch.getHtmlBody()),patch -> applyPatchForField(CassandraVacationTable.TEXT,patch.getTextBody()),patch -> applyPatchForField(CassandraVacationTable.IS_ENABLED,patch.getIsEnabled()),patch -> applyPatchForFieldZonedDateTime(CassandraVacationTable.FROM_DATE,patch.getFromDate()),patch -> applyPatchForFieldZonedDateTime(CassandraVacationTable.TO_DATE,patch.getToDate())).stream().reduce(FunctionGenerator::composeGeneratedFunctions).get()
to
ImmutableList.of(applyPatchForField(CassandraVacationTable.SUBJECT,VacationPatch::getSubject),applyPatchForField(CassandraVacationTable.HTML,VacationPatch::getHtmlBody),applyPatchForField(CassandraVacationTable.TEXT,VacationPatch::getTextBody),applyPatchForField(CassandraVacationTable.IS_ENABLED,VacationPatch::getIsEnabled),applyPatchForFieldZonedDateTime(CassandraVacationTable.FROM_DATE,VacationPatch::getFromDate),applyPatchForFieldZonedDateTime(CassandraVacationTable.TO_DATE,VacationPatch::getToDate)).stream().reduce((vacation,insert) -> insert,(a,b) -> (vacation,insert) -> b.apply(vacation,a.apply(vacation,insert)))
Update argument list (Method invocation)
apply
to
apply