to collection to be
        tested against</dd>
<dt>Returns:</dt>
<dd>predicate testing for membership</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="as(java.lang.Class)">
<h3>as</h3>
<div class="member-signature"><span class="type-parameters">&lt;X&gt;</span>&nbsp;<span class="return-type"><a href="Expression.html" title="interface in jakarta.persistence.criteria">Expression</a>&lt;X&gt;</span>&nbsp;<span class="element-name">as</span><wbr><span class="parameters">(<a href="https://docs.oracl