Class tcUtilBooleanOperations

java.lang.Object
com.thortech.xl.util.adapters.tcUtilBooleanOperations

public class tcUtilBooleanOperations extends Object
This class that has basic boolean operations utility methods. Author: Solomon Niyazov January 7, 2002.
  • Method Details

    • performBooleanAnd

      public static boolean performBooleanAnd(boolean value1, boolean value2)
      method that perform Boolean 'And' operation based on two boolean values.
      Parameters:
      value1 - value1.
      value2 - value2.
      Returns:
      boolean result.
    • performBooleanOr

      public static boolean performBooleanOr(boolean value1, boolean value2)
      method that perform Boolean 'Or' operation based on two boolean values.
      Parameters:
      value1 - value1.
      value2 - value2.
      Returns:
      boolean result.
    • performBooleanAnd

      public static Boolean performBooleanAnd(Boolean value1, Boolean value2) throws Exception
      method that perform Boolean 'And' operation based on two boolean values.
      Parameters:
      value1 - value1.
      value2 - value2.
      Returns:
      Boolean result.
      Throws:
      Exception
    • performBooleanOr

      public static Boolean performBooleanOr(Boolean value1, Boolean value2) throws Exception
      method that perform Boolean 'Or' operation based on two boolean values.
      Parameters:
      value1 - value1.
      value2 - value2.
      Returns:
      Boolean result.
      Throws:
      Exception