Class BoolFuncAggregator<TypeIn>

java.lang.Object
  extended by BoolFuncAggregator<TypeIn>
All Implemented Interfaces:
IFuncObj<TypeIn,java.lang.Boolean>

public class BoolFuncAggregator<TypeIn>
extends java.lang.Object
implements IFuncObj<TypeIn,java.lang.Boolean>

Combines two boolean functions into one. Always implements "and". implement other functions via boolean negation.

Since:
1.1

Constructor Summary
BoolFuncAggregator(IFuncObj<TypeIn,java.lang.Boolean> funcOne, IFuncObj<TypeIn,java.lang.Boolean> funcTwo)
           
 
Method Summary
 java.lang.Boolean doFunc(TypeIn in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoolFuncAggregator

public BoolFuncAggregator(IFuncObj<TypeIn,java.lang.Boolean> funcOne,
                          IFuncObj<TypeIn,java.lang.Boolean> funcTwo)
Method Detail

doFunc

public java.lang.Boolean doFunc(TypeIn in)
Specified by:
doFunc in interface IFuncObj<TypeIn,java.lang.Boolean>