Package io.deephaven.function
Interface TypedFunction<T>
- Type Parameters:
T
- the input type
- All Known Subinterfaces:
ToBooleanFunction<T>
,ToByteFunction<T>
,ToCharFunction<T>
,ToDoubleFunction<T>
,ToFloatFunction<T>
,ToIntFunction<T>
,ToLongFunction<T>
,ToObjectFunction<T,
,R> ToPrimitiveFunction<T>
,ToShortFunction<T>
public interface TypedFunction<T>
A common function interface that allows for differentiation based on the return type.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionType<?>
This function's return type.<R> R
walk
(TypedFunction.Visitor<T, R> visitor)
-
Method Details
-
returnType
Type<?> returnType()This function's return type.- Returns:
- the type
-
walk
-