iven text.
 substring.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>predicate</code> - the predicate with which to test the text</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the predicate</dd>
</dl>
</li>
</ul>
<a name="hasText-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasText</h4>
<pre>public static&nbsp;&lt;any&gt;&nbsp;hasText(java.lang.String&nbsp;text)</pre>
<div class="block">Returns a predicate that returns true i