org.databene.commons.operation
Class AndOperation

java.lang.Object
  extended by org.databene.commons.operation.AndOperation
All Implemented Interfaces:
Operation<java.lang.Boolean,java.lang.Boolean>

public class AndOperation
extends java.lang.Object
implements Operation<java.lang.Boolean,java.lang.Boolean>

Combines boolean arguments with an 'and' condition ignoring null arguments. If the number of arguments is zero, true is returned.

Created: 05.03.2008 07:56:59

Since:
0.4.0
Author:
Volker Bergmann

Constructor Summary
AndOperation()
           
 
Method Summary
 java.lang.Boolean perform(java.lang.Boolean... args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndOperation

public AndOperation()
Method Detail

perform

public java.lang.Boolean perform(java.lang.Boolean... args)
Specified by:
perform in interface Operation<java.lang.Boolean,java.lang.Boolean>


Copyright © 2010. All Rights Reserved.