SmartFrog 3.10.000

org.smartfrog.sfcore.languages.sf.functions
Class And

java.lang.Object
  extended by org.smartfrog.sfcore.languages.sf.functions.BaseFunction
      extended by org.smartfrog.sfcore.languages.sf.functions.BaseOperator
          extended by org.smartfrog.sfcore.languages.sf.functions.And
All Implemented Interfaces:
Function

public class And
extends BaseOperator

Defines the conjunction function


Field Summary
 
Fields inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseFunction
context, name
 
Constructor Summary
And()
           
 
Method Summary
protected  java.lang.Object doOperator(java.lang.Object a, java.lang.Object b)
          Conjoins two booleans.
 
Methods inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseOperator
doFunction
 
Methods inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseFunction
doit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

And

public And()
Method Detail

doOperator

protected java.lang.Object doOperator(java.lang.Object a,
                                      java.lang.Object b)
                               throws SmartFrogCompileResolutionException
Conjoins two booleans.

Specified by:
doOperator in class BaseOperator
Parameters:
a - first boolean
b - second boolean
Returns:
the conjunction
Throws:
SmartFrogCompileResolutionException - if the types of the attributes are not correct

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP