Class IfFunction<T,V>

java.lang.Object
org.eclipse.collections.impl.block.function.IfFunction<T,V>
All Implemented Interfaces:
Serializable, Function<T,V>, Function<T,V>

public class IfFunction<T,V> extends Object implements Function<T,V>
See Also:
  • Constructor Details

    • IfFunction

      public IfFunction(Predicate<? super T> newPredicate, Function<? super T,? extends V> function)
    • IfFunction

      public IfFunction(Predicate<? super T> predicate, Function<? super T,? extends V> function, Function<? super T,? extends V> elseFunction)
  • Method Details