Package io.deephaven.function
Class Logic
java.lang.Object
io.deephaven.function.Logic
Logic functions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Boolean
and
(boolean... values) Ands all of the values in the array together.static Boolean
and
(ObjectVector<Boolean> values) Ands all of the values in the array together.static Boolean
and
(ObjectVector<Boolean> values, Boolean nullValue) Ands all of the values in the array together.static Boolean
Ands all of the values in the array together.static Boolean
Ands all of the values in the array together.static Boolean[]
not
(boolean... values) Not of all values in an array.static Boolean[]
Not of all values in an array.static Boolean
or
(boolean... values) Ors all of the values in the array together.static Boolean
Ors all of the values in the array together.static Boolean
Ors all of the values in the array together.
-
Constructor Details
-
Logic
public Logic()
-
-
Method Details
-
and
Ands all of the values in the array together.- Parameters:
values
- values.- Returns:
- logical and of all the values in the array. By convention, returns true if the array is empty.
-
and
Ands all of the values in the array together.- Parameters:
values
- values.- Returns:
- logical and of all the values in the array. By convention, returns true if the array is empty.
-
and
Ands all of the values in the array together.- Parameters:
values
- values.- Returns:
- logical and of all the values in the array. By convention, returns true if the array is empty.
-
and
Ands all of the values in the array together.- Parameters:
values
- values.nullValue
- value to use in place of null values.- Returns:
- logical and of all the values in the array. By convention, returns true if the array is empty.
-
and
Ands all of the values in the array together.- Parameters:
values
- values.nullValue
- value to use in place of null values.- Returns:
- logical and of all the values in the array. By convention, returns true if the array is empty.
-
or
Ors all of the values in the array together.- Parameters:
values
- values.- Returns:
- logical or of all the values in the array. By convention, returns false if the array is empty.
-
or
Ors all of the values in the array together.- Parameters:
values
- values.- Returns:
- logical or of all the values in the array. By convention, returns false if the array is empty.
-
or
Ors all of the values in the array together.- Parameters:
values
- values.nullValue
- value to use in place of null values.- Returns:
- logical or of all the values in the array. By convention, returns false if the array is empty.
-
not
Not of all values in an array.- Parameters:
values
- values.- Returns:
- logical not of all the values in the array.
-
not
Not of all values in an array.- Parameters:
values
- values.- Returns:
- logical not of all the values in the array.
-