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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThis function's return type.<R> Rwalk(ToPrimitiveFunction.Visitor<T, R> visitor) default <R> Rwalk(TypedFunction.Visitor<T, R> visitor)
-
Method Details
-
returnType
PrimitiveType<?> returnType()Description copied from interface:TypedFunctionThis function's return type.- Specified by:
returnTypein interfaceTypedFunction<T>- Returns:
- the type
-
walk
- Specified by:
walkin interfaceTypedFunction<T>
-
walk
-