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
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Type<?>
    This function's return type.
    <R> R
     
  • Method Details

    • returnType

      Type<?> returnType()
      This function's return type.
      Returns:
      the type
    • walk

      <R> R walk(TypedFunction.Visitor<T,R> visitor)