CollectionOperator
Implementation of the CollectionContains operator. Returns
true if a Collection contains a given item.
Input 1: A Collection object (or expression that evaluates to a Collection) that
defines the Collection to be searched.
Input 2: An Object (or expression that evaluates to an Object) to be found.
The semantics of how the search is carried out is defined by the Collection's
underlying implementation of the contains
method..
Returns: Boolean. Boolean.TRUE if the Collection.contains evaluates to true.
Object
ComplexExpressionImpl
Operator
CollectionOperator
CollectionContains
BinaryOperator
, Cloneable
, Expression
, Serializable
Constructor Summary |
|
Method Summary |
public |
|
Methods from com.bea.p13n.expression.operator.collection. |
|
Methods from com.bea.p13n.expression.operator. |
|
Methods from com.bea.p13n.expression.internal. |
addListener, addSubExpression, clearCache, clone, createProxyExpression, equals, getCachedValue, getParent, getSource, getSubExpression, getSubExpressionCount, getUserData, hashCode, isCached, isCacheEnabled, isEqualitySubExpression, notifyListeners, removeAllSubExpressions, removeListener, removeSubExpression, removeSubExpression, setCachedValue, setCacheEnabled, setParent, setSource, setSubExpression, setUserData, toString, write |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface com.bea.p13n.expression.operator. |
|
Methods from interface com.bea.p13n.expression. |
|
Constructor Detail |
public CollectionContains()
public CollectionContains(Object
collection,Object
item)
CollectionContains
by associating the given
operands.
Method Detail |
public Class
[] getParameterSignature()
Description copied from Expression.getParameterSignature()
Expression
.
Because the sub-expressions within the Expression
are
typically arguments or operands, some type validation is performed
by examining the class types of the sub-expressions against the
Expression
's parameter signature.