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
Function-Pointer Input:int, charOutput:char.
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
File Size: 779 Bytes Line Count: 23 '\n' Characters Found
-
-
Method Summary
@FunctionalInterface: (Lambda) Method Modifier and Type Method charapply(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'.
FunctionalInterface Target-Method:
This method corresponds to the@FunctionalInterfaceAnnotation's method requirement. It is the only non-default, non-staticmethod in this interface, and may be the target of a Lambda-Expression or'::'(double-colon) Function-Pointer.- Parameters:
i- The first input-parameter, of type'int'.c- The second input-parameter, of type'char'.- Returns:
- The
'char'result.
-
-