Package io.deephaven.function
Interface ToPrimitiveFunction<T>
- Type Parameters:
T
- the input type
- All Superinterfaces:
TypedFunction<T>
- All Known Subinterfaces:
ToBooleanFunction<T>
,ToByteFunction<T>
,ToCharFunction<T>
,ToDoubleFunction<T>
,ToFloatFunction<T>
,ToIntFunction<T>
,ToLongFunction<T>
,ToShortFunction<T>
A function interface that allows for differentiation of primitive return types.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis function's return type.<R> R
walk
(ToPrimitiveFunction.Visitor<T, R> visitor) default <R> R
walk
(TypedFunction.Visitor<T, R> visitor)
-
Method Details
-
returnType
PrimitiveType<?> returnType()Description copied from interface:TypedFunction
This function's return type.- Specified by:
returnType
in interfaceTypedFunction<T>
- Returns:
- the type
-
walk
- Specified by:
walk
in interfaceTypedFunction<T>
-
walk
-