Interface TableCellTransformer<T>

  • Type Parameters:
    T - the target type
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @API(status=STABLE)
    @FunctionalInterface
    public interface TableCellTransformer<T>
    Transforms a single table cell to an instance of T.
    • Method Detail

      • transform

        T transform​(String cell)
             throws Throwable
        Transforms a single table cell to an instance of T.
        Parameters:
        cell - the contents of a cell. Never null.
        Returns:
        an instance of T
        Throws:
        Throwable - when the transform fails for any reason