Class Logic

java.lang.Object
io.deephaven.function.Logic

public class Logic extends Object
Logic functions.
  • Constructor Details

    • Logic

      public Logic()
  • Method Details

    • and

      public static Boolean and(Boolean... values)
      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

      public static Boolean and(boolean... values)
      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

      public static Boolean and(ObjectVector<Boolean> values)
      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

      public static Boolean and(Boolean[] values, Boolean nullValue)
      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

      public static Boolean and(ObjectVector<Boolean> values, Boolean nullValue)
      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

      public static Boolean or(Boolean... values)
      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

      public static Boolean or(boolean... values)
      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

      public static Boolean or(Boolean[] values, Boolean nullValue)
      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

      public static Boolean[] not(Boolean... values)
      Not of all values in an array.
      Parameters:
      values - values.
      Returns:
      logical not of all the values in the array.
    • not

      public static Boolean[] not(boolean... values)
      Not of all values in an array.
      Parameters:
      values - values.
      Returns:
      logical not of all the values in the array.