Class BiFuncNoNulls<X,​Y,​Z>

  • Type Parameters:
    X - Type of input
    Y - Type of input
    Z - Type of output
    All Implemented Interfaces:
    BiFunc<X,​Y,​Z>

    public final class BiFuncNoNulls<X,​Y,​Z>
    extends Object
    implements BiFunc<X,​Y,​Z>
    BiFunc check for no nulls.
    Since:
    0.11
    • Constructor Detail

      • BiFuncNoNulls

        public BiFuncNoNulls​(BiFunc<X,​Y,​Z> func)
        Ctor.
        Parameters:
        func - The function
    • Method Detail

      • apply

        public Z apply​(X first,
                       Y second)
                throws Exception
        Description copied from interface: BiFunc
        Apply it.
        Specified by:
        apply in interface BiFunc<X,​Y,​Z>
        Parameters:
        first - The first argument
        second - The second argument
        Returns:
        The result
        Throws:
        Exception - If fails