|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.util.And
public class And
The And
class combines two PredicateInterface
objects
using a short circuit logical and ( &&
) operation.
Or
,
Not
,
XOr
,
Serialized FormConstructor Summary | |
---|---|
And(com.sas.util.PredicateInterface lhs,
com.sas.util.PredicateInterface rhs)
Construct a predicate which computes the logical and of two other predicates. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone this object. |
boolean |
predicate(java.lang.Object object)
Compute the a boolean function on object. |
Constructor Detail |
---|
public And(com.sas.util.PredicateInterface lhs, com.sas.util.PredicateInterface rhs)
lhs
- the first predicaterhs
- the second predicateMethod Detail |
---|
public boolean predicate(java.lang.Object object)
predicate
in interface com.sas.util.PredicateInterface
lhs.predicate(object) && rhs.predicate(object);
using the predicates passed to the constructor
.public java.lang.Object clone()
clone
in interface com.sas.PublicClonable
clone
in class java.lang.Object
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |