Kactoos

kactoos-jvm / nnl.rocks.kactoos.scalar / OrFunc / <init>

<init>

OrFunc(proc: Proc<X>, vararg src: X)

Parameters

proc - Proc to map

src - The iterable

X - Type of items in the iterableOrFunc(func: Func<X, Boolean>, vararg src: X)

Parameters

func - Func to map

src - The iterable

X - Type of items in the iterableOrFunc(proc: Proc<X>, src: Iterable<X>)

Parameters

src - The iterable

proc - Proc to use

X - Type of items in the iterable

Since 0.24

OrFunc(func: Func<X, Boolean>, src: Iterable<X>)

Parameters

src - The iterable

func - Func to map

X - Type of items in the iterableOrFunc(origin: Iterable<KScalar<Boolean>>)

Logical disjunction.

There is no thread-safety guarantee.

Parameters

origin - The iterable.

Since 0.8