Interface Function<A,​B>

  • Type Parameters:
    A - The input type.
    B - The output type.
    All Known Subinterfaces:
    Predicate<T>
    All Known Implementing Classes:
    EitherVisitor, F, F.Constant, RateLimitHistory, TreeWalker

    public interface Function<A,​B>
    An interface for defining a thing that can take something and return something else.
    Author:
    Alex Kalderimis
    • Method Detail

      • call

        B call​(A a)
        Take an A and return a B.
        Parameters:
        a - The input.
        Returns:
        a B of some kind.