Skip navigation links


com.thortech.xl.util.adapters
Class tcUtilBooleanOperations

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


public class tcUtilBooleanOperations
extends java.lang.Object

This class that has basic boolean operations utility methods. Author: Solomon Niyazov January 7, 2002.


Method Summary
static boolean performBooleanAnd(boolean value1, boolean value2)
          method that perform Boolean 'And' operation based on two boolean values.
static java.lang.Boolean performBooleanAnd(java.lang.Boolean value1, java.lang.Boolean value2)
          method that perform Boolean 'And' operation based on two boolean values.
static boolean performBooleanOr(boolean value1, boolean value2)
          method that perform Boolean 'Or' operation based on two boolean values.
static java.lang.Boolean performBooleanOr(java.lang.Boolean value1, java.lang.Boolean value2)
          method that perform Boolean 'Or' operation based on two boolean values.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

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 java.lang.Boolean performBooleanAnd(java.lang.Boolean value1,
                                                  java.lang.Boolean value2)
                                           throws java.lang.Exception
method that perform Boolean 'And' operation based on two boolean values.
Parameters:
value1 - value1.
value2 - value2.
Returns:
Boolean result.
Throws:
java.lang.Exception

performBooleanOr

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

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.