org.argouml.kernel
Class PredOR

java.lang.Object
  extended byorg.argouml.kernel.PredOR
All Implemented Interfaces:
org.tigris.gef.util.Predicate, java.io.Serializable

Deprecated. as of 0.15.2, replace with nothing, remove in 0.15.3, alexb

public class PredOR
extends java.lang.Object
implements org.tigris.gef.util.Predicate

Predicate to provide logical OR between two other predicates. This class belongs in org.argouml.util

See Also:
Serialized Form

Field Summary
protected  org.tigris.gef.util.Predicate _predicate1
          Deprecated.  
protected  org.tigris.gef.util.Predicate _predicate2
          Deprecated.  
 
Constructor Summary
PredOR(org.tigris.gef.util.Predicate predicate1, org.tigris.gef.util.Predicate predicate2)
          Deprecated.  
 
Method Summary
 boolean predicate(java.lang.Object obj)
          Deprecated. Returns true if at least one of 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 org.tigris.gef.util.Predicate _predicate1
Deprecated. 

_predicate2

protected org.tigris.gef.util.Predicate _predicate2
Deprecated. 
Constructor Detail

PredOR

public PredOR(org.tigris.gef.util.Predicate predicate1,
              org.tigris.gef.util.Predicate predicate2)
Deprecated. 
Method Detail

predicate

public boolean predicate(java.lang.Object obj)
Deprecated. 
Returns true if at least one of its internal Predicates return true;

Specified by:
predicate in interface org.tigris.gef.util.Predicate
Parameters:
obj - Object to test.
Returns:
Returns true if at least one of its internal Predicates return true.


ArgoUML © 1996-2004 (20040316)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook