Class Or
- java.lang.Object
-
- org.tensorics.core.booleans.operations.Or
-
- All Implemented Interfaces:
java.util.function.Function<java.lang.Iterable<java.lang.Boolean>,java.lang.Boolean>
,IterableBooleanConversion
,Conversion<java.lang.Iterable<java.lang.Boolean>,java.lang.Boolean>
public class Or extends java.lang.Object implements IterableBooleanConversion
IterableBooleanConversion
that performs a logical OR over all the elements of the iterable.
-
-
Constructor Summary
Constructors Constructor Description Or()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
apply(java.lang.Iterable<java.lang.Boolean> booleanList)
Has to implement the conversion logic to convert the given object into an object of type R.java.lang.String
toString()
-
-
-
Method Detail
-
apply
public java.lang.Boolean apply(java.lang.Iterable<java.lang.Boolean> booleanList)
Description copied from interface:Conversion
Has to implement the conversion logic to convert the given object into an object of type R.- Specified by:
apply
in interfaceConversion<java.lang.Iterable<java.lang.Boolean>,java.lang.Boolean>
- Specified by:
apply
in interfacejava.util.function.Function<java.lang.Iterable<java.lang.Boolean>,java.lang.Boolean>
- Parameters:
booleanList
- the object to convert- Returns:
- an object of the correct return type.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-