Interface Extractor<T,​R>

  • Type Parameters:
    T - the type of the input to the function
    R - the type of the result of the function

    public interface Extractor<T,​R>
    This is a helper interface until we migrate to Java 8. It allows us to abstract our code easier.
    Filip Hrisafov
    • Method Detail

      • apply

        R apply​(T t)
        Extract a value from the passed parameter.
        t - the value that we need to extract from
        the result from the extraction