public final class Or extends Object implements Scalar<Boolean>
There is no thread-safety guarantee.
This class implements Scalar
, which throws a checked
Exception
. This may not be convenient in many cases. To make
it more convenient and get rid of the checked exception you can
use UncheckedScalar
or IoCheckedScalar
decorators.
Scalar.NoNulls<T>
Constructor and Description |
---|
Or(Func<X,Boolean> func,
Iterable<X> src)
Ctor.
|
Or(Func<X,Boolean> func,
Iterator<X> src)
Ctor.
|
Or(Func<X,Boolean> func,
X... src)
Ctor.
|
Or(Iterable<Scalar<Boolean>> iterable)
Ctor.
|
Or(Iterator<Scalar<Boolean>> iterable)
Ctor.
|
Or(Proc<X> proc,
Iterable<X> src)
Ctor.
|
Or(Proc<X> proc,
Iterator<X> src)
Ctor.
|
Or(Proc<X> proc,
X... src)
Ctor.
|
Or(Scalar<Boolean>... scalar)
Ctor.
|
@SafeVarargs public Or(Proc<X> proc, X... src)
X
- Type of items in the iterableproc
- Proc to mapsrc
- The iterable@SafeVarargs public Or(Func<X,Boolean> func, X... src)
X
- Type of items in the iterablefunc
- Func to mapsrc
- The iterablepublic Or(Proc<X> proc, Iterator<X> src)
X
- Type of items in the iterablesrc
- The iterableproc
- Proc to usepublic Or(Proc<X> proc, Iterable<X> src)
X
- Type of items in the iterablesrc
- The iterableproc
- Proc to usepublic Or(Func<X,Boolean> func, Iterator<X> src)
X
- Type of items in the iterablesrc
- The iterablefunc
- Func to mappublic Or(Func<X,Boolean> func, Iterable<X> src)
X
- Type of items in the iterablesrc
- The iterablefunc
- Func to map@SafeVarargs public Or(Scalar<Boolean>... scalar)
scalar
- The Scalar.public Or(Iterator<Scalar<Boolean>> iterable)
iterable
- The iterable.Copyright © 2017 Cactoos. All rights reserved.