org.erights.e.meta.java.lang
Class BooleanSugar

java.lang.Object
  |
  +--org.erights.e.meta.java.lang.BooleanSugar

public class BooleanSugar
extends Object

Untamed: A sweetener defining extra messages that may be e-sent to booleans.

Author:
Mark S. Miller

Constructor Summary
private BooleanSugar()
          prevent instantiation
 
Method Summary
static boolean and(boolean self, boolean arg)
          Enabled:
static boolean not(boolean self)
          Enabled:
static boolean or(boolean self, boolean arg)
          Enabled:
static Object pick(boolean self, Object trueChoice, Object falseChoice)
          Enabled:
static boolean xor(boolean self, boolean arg)
          Enabled:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanSugar

private BooleanSugar()
prevent instantiation

Method Detail

and

public static boolean and(boolean self,
                          boolean arg)
Enabled:


not

public static boolean not(boolean self)
Enabled:


or

public static boolean or(boolean self,
                         boolean arg)
Enabled:


pick

public static Object pick(boolean self,
                          Object trueChoice,
                          Object falseChoice)
Enabled:


xor

public static boolean xor(boolean self,
                          boolean arg)
Enabled:



comments?