isql.util
Class BooleanHelp

java.lang.Object
  extended by isql.util.BooleanHelp

public class BooleanHelp
extends java.lang.Object

Utility functions for booleans

Author:
SHZ Nov 20, 2007

Constructor Summary
BooleanHelp()
           
 
Method Summary
static boolean xor(boolean a, boolean b)
          Returns true if the arguments have same value (true-true or false-false), false otherwise
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanHelp

public BooleanHelp()
Method Detail

xor

public static boolean xor(boolean a,
                          boolean b)
Returns true if the arguments have same value (true-true or false-false), false otherwise

Parameters:
a - the boolean value a
b - the boolean value b
Returns:
the XOR between the two values