org.argouml.kernel
Class PredOR
java.lang.Object
org.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 |
_predicate1
protected org.tigris.gef.util.Predicate _predicate1
- Deprecated.
_predicate2
protected org.tigris.gef.util.Predicate _predicate2
- Deprecated.
PredOR
public PredOR(org.tigris.gef.util.Predicate predicate1,
org.tigris.gef.util.Predicate predicate2)
- Deprecated.
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.