org.argouml.kernel
Class PredAND

java.lang.Object
  |
  +--org.argouml.kernel.PredAND

public class PredAND
extends java.lang.Object

Predicate to provide logical AND between two other predicates.


Field Summary
protected  Predicate _predicate1
           
protected  Predicate _predicate2
           
 
Constructor Summary
PredAND(Predicate predicate1, Predicate predicate2)
           
 
Method Summary
 boolean predicate(java.lang.Object obj)
          Returns true if both its internal Predicates return true;
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_predicate1

protected Predicate _predicate1

_predicate2

protected Predicate _predicate2
Constructor Detail

PredAND

public PredAND(Predicate predicate1,
               Predicate predicate2)
Method Detail

predicate

public boolean predicate(java.lang.Object obj)
Returns true if both its internal Predicates return true;

Returns:
Returns true if both its internal Predicates return true;


ArgoUML © 1996-2003 (20040216)ArgoUML Project HomeArgoUML Cookbook