Package Torello.Java.Function
Interface ToCharIntCharFunc
-
- 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 ToCharIntCharFunc
ToCharIntCharFunc Documentation.
For a LAMBDA or method that accepts two primitive-inputs ('int'
and'char'
), and returns a'char'
.
Hi-Lited Source-Code:
- View Here: Torello/Java/Function/ToCharIntCharFunc.java
- Open New Browser-Tab: Torello/Java/Function/ToCharIntCharFunc.java
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method char
apply(int i, char c)
-
-
-
Method Detail
-
apply
char apply(int i, char c)
This method must take an'int'
and a'char'
, and return a'char'
.- Parameters:
i
- The first input-parameter, of type'int'
.c
- The second input-parameter, of type'char'
.- Returns:
- The
'char'
result.
-
-