Skip navigation links
ilog.rules.util
Class IlrSelector.Or
java.lang.Object
ilog.rules.util.IlrSelector
ilog.rules.util.IlrSelector.Or
- Enclosing class:
- IlrSelector
public static class IlrSelector.Or
- extends IlrSelector
Or selector, a selector that accepts an object if one of the two underlying selectors accepts it.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IlrSelector.Or
public IlrSelector.Or(IlrSelector firstSelector,
IlrSelector secondSelector)
isAccepted
public boolean isAccepted(Object o)
- Description copied from class:
IlrSelector
- Tests if an object is acceptable.
The best method accepts is called based on the class of the parameter.
- Overrides:
isAccepted
in class IlrSelector
- Parameters:
o
- The object to test. If it is null, this method returns false
.
- Returns:
True
if the object is accepted, or False
if the object is null or not accepted.
Skip navigation links
© Copyright IBM Corp. 1987, 2013