org.databene.commons.operation
Class OrOperation

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

public class OrOperation
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
OrOperation()
           
 
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

OrOperation

public OrOperation()
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.