Class FirstValid<I_ITEM>

  • Type Parameters:
    I_ITEM - the type of objects in the iterable
    All Implemented Interfaces:
    Function<Iterable<I_ITEM>,​I_ITEM>

    public class FirstValid<I_ITEM>
    extends KorypheFunction<Iterable<I_ITEM>,​I_ITEM>
    A FirstValid is a Function that returns the first item from a provided input Iterable which matches the provided Predicate