Package io.deephaven.function
Class Logic
java.lang.Object
io.deephaven.function.Logic
Logic functions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Booleanand(boolean... values) Ands all of the values in the array together.static Booleanand(ObjectVector<Boolean> values) Ands all of the values in the array together.static Booleanand(ObjectVector<Boolean> values, Boolean nullValue) Ands all of the values in the array together.static BooleanAnds all of the values in the array together.static BooleanAnds 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 Booleanor(boolean... values) Ors all of the values in the array together.static BooleanOrs all of the values in the array together.static BooleanOrs 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.
-