Skip to content

Commit

Permalink
Merge pull request #686 from mP1/feature/ExpressionFunction-javadoc-t…
Browse files Browse the repository at this point in the history
…ypo-N-improvements

ExpressionFunction javadoc typo & improvements
  • Loading branch information
mP1 authored Dec 6, 2023
2 parents 7118a84 + d502c4c commit cda3c54
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public interface ExpressionFunction<T, C extends ExpressionEvaluationContext> ex
Optional<FunctionExpressionName> ANONYMOUS_NAME = Optional.empty();

/**
* The default name for a namedFunction without any name, often used by {@link #toString()}.
* The default name for a namedFunction without any name, often used by {@link Object#toString()}.
*/
String ANONYMOUS = "<anonymous>";

Expand Down Expand Up @@ -113,13 +113,11 @@ default void checkParameterCount(final List<Object> parameters) {

/**
* The return type of this namedFunction
*
* @return The return type of this namedFunction
*/
Class<T> returnType();

/**
* Returns a ne {@link ExpressionFunction} that adds the parameter mapper before this namedFunction.
* Returns a new {@link ExpressionFunction} that adds the parameter mapper before this namedFunction.
*/
default ExpressionFunction<T, C> mapParameters(final BiFunction<List<Object>, C, List<Object>> mapper) {
return ExpressionFunctionParametersMapper.with(mapper, this);
Expand Down

0 comments on commit cda3c54

Please sign in to comment.