Class Functions
java.lang.Object
io.github.torand.javacommons.functional.Functions
General purpose functions for streams.
-
Method Summary
-
Method Details
-
castTo
Returns a function casting the input object to the specified class.- Type Parameters:
S
- the input object type.T
- the output object type.- Parameters:
targetClass
- the class to cast to.- Returns:
- the function object.
-