Searched refs:tryFind (Results 1 - 20 of 20) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
H A DFluentIterable.java236 return Iterables.tryFind(iterable, predicate);
H A DIterables.java638 * it is possible that <i>no</i> element will match, use {@link #tryFind} or
653 * tryFind(iterable, predicate).or(defaultValue)}.
673 public static <T> Optional<T> tryFind(Iterable<T> iterable, method in class:Iterables
675 return Iterators.tryFind(iterable.iterator(), predicate);
H A DIterators.java709 * <i>no</i> element will match, use {@link #tryFind} or {@link
726 * tryFind(iterator, predicate).or(defaultValue)}.
749 public static <T> Optional<T> tryFind( method in class:Iterators
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DFluentIterable.java224 return Iterables.tryFind(iterable, predicate);
H A DIterables.java597 * it is possible that <i>no</i> element will match, use {@link #tryFind} or
612 * tryFind(iterable, predicate).or(defaultValue)}.
632 public static <T> Optional<T> tryFind(Iterable<T> iterable, method in class:Iterables
634 return Iterators.tryFind(iterable.iterator(), predicate);
H A DIterators.java674 * <i>no</i> element will match, use {@link #tryFind} or {@link
691 * tryFind(iterator, predicate).or(defaultValue)}.
714 public static <T> Optional<T> tryFind( method in class:Iterators
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DIterablesTest.java238 Iterables.tryFind(list, Predicates.equalTo("cool")));
240 Iterables.tryFind(list, Predicates.equalTo("pants")));
242 Iterables.tryFind(list, Predicates.alwaysTrue()));
244 Iterables.tryFind(list, Predicates.alwaysFalse()));
H A DIteratorsTest.java369 Iterators.tryFind(iterator, Predicates.equalTo("cool")).get());
376 Iterators.tryFind(iterator, Predicates.equalTo("pants")).get());
383 Iterators.tryFind(iterator, Predicates.alwaysTrue()).get());
390 Iterators.tryFind(iterator, Predicates.alwaysFalse()).or("woot"));
398 Iterators.tryFind(iterator, Predicates.alwaysFalse()).isPresent());
/external/guava/guava-tests/test/com/google/common/collect/
H A DIteratorsTest.java433 Iterators.tryFind(iterator, Predicates.equalTo("cool")).get());
440 Iterators.tryFind(iterator, Predicates.equalTo("pants")).get());
447 Iterators.tryFind(iterator, Predicates.alwaysTrue()).get());
454 Iterators.tryFind(iterator, Predicates.alwaysFalse()).or("woot"));
462 Iterators.tryFind(iterator, Predicates.alwaysFalse()).isPresent());
H A DIterablesTest.java266 Iterables.tryFind(list, Predicates.equalTo("cool")));
268 Iterables.tryFind(list, Predicates.equalTo("pants")));
270 Iterables.tryFind(list, Predicates.alwaysTrue()));
272 Iterables.tryFind(list, Predicates.alwaysFalse()));
/external/dagger2/lib/
H A Dauto-value-1.4.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/auto/ com/google/auto/value/ ...
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/annotation-tools/annotation-file-utilities/lib/
H A Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/annotation-tools/annotation-file-utilities/
H A Dannotation-file-utilities.jarMETA-INF/ META-INF/MANIFEST.MF annotations/ annotations/el/ annotations/field/ annotations/io/ annotations/io/classfile/ ...
/external/v8/src/inspector/build/closure-compiler/
H A Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/conscrypt/benchmark-android/
H A Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties.java package vogar ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 441 milliseconds