Lines Matching full:code
104 Contains static factory methods for creating <code>Predicate</code> instances.
131 <CODE>static
135 <CODE><T> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T></CODE></FONT></TD>
138 </CODE></FONT></TD>
139 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#alwaysFalse()">alwaysFalse</A></B>()</CODE>
142 Returns a predicate that always evaluates to <code>false</code>.</TD>
146 <CODE>static
150 <CODE><T> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T></CODE></FONT></TD>
153 </CODE></FONT></TD>
154 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#alwaysTrue()">alwaysTrue</A></B>()</CODE>
157 Returns a predicate that always evaluates to <code>true</code>.</TD>
161 <CODE>static
165 <CODE><T> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T></CODE></FONT></TD>
168 </CODE></FONT></TD>
169 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#and(java.lang.Iterable)">and</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><? extends <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><? super T>> components)</CODE>
172 Returns a predicate that evaluates to <code>true</code> if each of its
173 components evaluates to <code>true</code>.</TD>
177 <CODE>static
181 <CODE><T> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T></CODE></FONT></TD>
184 </CODE></FONT></TD>
185 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#and(com.google.common.base.Predicate...)">and</A></B>(<A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><? super T>... components)</CODE>
188 Returns a predicate that evaluates to <code>true</code> if each of its
189 components evaluates to <code>true</code>.</TD>
193 <CODE>static
197 <CODE><T> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T></CODE></FONT></TD>
200 </CODE></FONT></TD>
201 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#and(com.google.common.base.Predicate, com.google.common.base.Predicate)">and</A></B>(<A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><? super T> first,
202 <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><? super T> second)</CODE>
205 Returns a predicate that evaluates to <code>true</code> if both of its
206 components evaluate to <code>true</code>.</TD>
210 <CODE>static
214 <CODE><A,B> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><A></CODE></FONT></TD>
217 </CODE></FONT></TD>
218 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#compose(com.google.common.base.Predicate, com.google.common.base.Function)">compose</A></B>(<A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><B> predicate,
219 <A HREF="../../../../com/google/common/base/Function.html" title="interface in com.google.common.base">Function</A><A,? extends B> function)</CODE>
226 <CODE>static
230 <CODE><T> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T></CODE></FONT></TD>
233 </CODE></FONT></TD>
234 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#equalTo(T)">equalTo</A></B>(T target)</CODE>
237 Returns a predicate that evaluates to <code>true</code> if the object being
238 tested <code>equals()</code> the given target or both are null.</TD>
242 <CODE>static
246 <CODE><T> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T></CODE></FONT></TD>
249 </CODE></FONT></TD>
250 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#in(java.util.Collection)">in</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><? extends T> target)</CODE>
253 Returns a predicate that evaluates to <code>true</code> if the object reference
258 <CODE>static <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD>
259 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#instanceOf(java.lang.Class)">instanceOf</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> clazz)</CODE>
262 Returns a predicate that evaluates to <code>true</code> if the object being
267 <CODE>static
271 <CODE><T> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T></CODE></FONT></TD>
274 </CODE></FONT></TD>
275 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#isNull()">isNull</A></B>()</CODE>
278 Returns a predicate that evaluates to <code>true</code> if the object reference
283 <CODE>static
287 <CODE><T> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T></CODE></FONT></TD>
290 </CODE></FONT></TD>
291 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#not(com.google.common.base.Predicate)">not</A></B>(<A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T> predicate)</CODE>
294 Returns a predicate that evaluates to <code>true</code> if the given predicate
295 evaluates to <code>false</code>.</TD>
299 <CODE>static
303 <CODE><T> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T></CODE></FONT></TD>
306 </CODE></FONT></TD>
307 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#notNull()">notNull</A></B>()</CODE>
310 Returns a predicate that evaluates to <code>true</code> if the object reference
315 <CODE>static
319 <CODE><T> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T></CODE></FONT></TD>
322 </CODE></FONT></TD>
323 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#or(java.lang.Iterable)">or</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><? extends <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><? super T>> components)</CODE>
326 Returns a predicate that evaluates to <code>true</code> if any one of its
327 components evaluates to <code>true</code>.</TD>
331 <CODE>static
335 <CODE><T> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T></CODE></FONT></TD>
338 </CODE></FONT></TD>
339 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#or(com.google.common.base.Predicate...)">or</A></B>(<A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><? super T>... components)</CODE>
342 Returns a predicate that evaluates to <code>true</code> if any one of its
343 components evaluates to <code>true</code>.</TD>
347 <CODE>static
351 <CODE><T> <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><T></CODE></FONT></TD>
354 </CODE></FONT></TD>
355 <TD><CODE><B><A HREF="../../../../com/google/common/base/Predicates.html#or(com.google.common.base.Predicate, com.google.common.base.Predicate)">or</A></B>(<A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><? super T> first,
356 <A HREF="../../../../com/google/common/base/Predicate.html" title="interface in com.google.common.base">Predicate</A><? super T> second)</CODE>
359 Returns a predicate that evaluates to <code>true</code> if either of its
360 components evaluates to <code>true</code>.</TD>
369 <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
390 <DD>Returns a predicate that always evaluates to <code>true</code>.
403 <DD>Returns a predicate that always evaluates to <code>false</code>.
416 <DD>Returns a predicate that evaluates to <code>true</code> if the object reference
430 <DD>Returns a predicate that evaluates to <code>true</code> if the object reference
444 <DD>Returns a predicate that evaluates to <code>true</code> if the given predicate
445 evaluates to <code>false</code>.
458 <DD>Returns a predicate that evaluates to <code>true</code> if each of its
459 components evaluates to <code>true</code>. The components are evaluated in
462 changes to it won't alter the behavior of this predicate. If <code>components</code> is empty, the returned predicate will always evaluate to <code>true</code>.
475 <DD>Returns a predicate that evaluates to <code>true</code> if each of its
476 components evaluates to <code>true</code>. The components are evaluated in
479 changes to it won't alter the behavior of this predicate. If <code>components</code> is empty, the returned predicate will always evaluate to <code>true</code>.
493 <DD>Returns a predicate that evaluates to <code>true</code> if both of its
494 components evaluate to <code>true</code>. The components are evaluated in
509 <DD>Returns a predicate that evaluates to <code>true</code> if any one of its
510 components evaluates to <code>true</code>. The components are evaluated in
513 future changes to it won't alter the behavior of this predicate. If <code>components</code> is empty, the returned predicate will always evaluate to <code>false</code>.
526 <DD>Returns a predicate that evaluates to <code>true</code> if any one of its
527 components evaluates to <code>true</code>. The components are evaluated in
530 future changes to it won't alter the behavior of this predicate. If <code>components</code> is empty, the returned predicate will always evaluate to <code>false</code>.
544 <DD>Returns a predicate that evaluates to <code>true</code> if either of its
545 components evaluates to <code>true</code>. The components are evaluated in
561 <DD>Returns a predicate that evaluates to <code>true</code> if the object being
562 tested <code>equals()</code> the given target or both are null.
575 <DD>Returns a predicate that evaluates to <code>true</code> if the object being
577 is <code>null</code> this predicate evaluates to <code>false</code>.
579 <p>If you want to filter an <code>Iterable</code> to narrow its type, consider
580 using <A HREF="../../../../com/google/common/collect/Iterables.html#filter(java.lang.Iterable, java.lang.Class)"><CODE>Iterables.filter(Iterable, Class)</CODE></A>
594 <DD>Returns a predicate that evaluates to <code>true</code> if the object reference
601 users since it is always possible to use <code>Predicates.<Object>in()</code>.
604 <DT><B>Parameters:</B><DD><CODE>target</CODE> - the collection that may contain the function input</DL>
615 <DD>Returns the composition of a function and a predicate. For every <code>x</code>,
616 the generated predicate returns <code>predicate(function(x))</code>.