Searched refs:orNull (Results 1 - 23 of 23) sorted by relevance

/external/guava/guava/src/com/google/common/base/
H A DAbsent.java51 return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
61 "use Optional.orNull() instead of a Supplier that returns null");
64 @Override @Nullable public T orNull() { method in class:Absent
H A DPresent.java48 checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
62 @Override public T orNull() { method in class:Present
H A DOptional.java107 * absent, use {@link #or(Object)} or {@link #orNull} instead.
117 * {@link #get()} instead. For a default value of {@code null}, use {@link #orNull}.
165 public abstract T orNull(); method in class:Optional
/external/guava/guava-gwt/src/com/google/common/base/
H A DGwtSerializationDependencies.java65 @Override public T orNull() { method in class:GwtSerializationDependencies.OptionalDependencies
/external/guava/guava/src/com/google/common/reflect/
H A DParameter.java111 .orNull();
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
H A DOptionalTest.java126 assertEquals("a", Optional.of("a").orNull());
130 assertNull(Optional.absent().orNull());
/external/guava/guava-tests/test/com/google/common/base/
H A DOptionalTest.java129 assertEquals("a", Optional.of("a").orNull());
133 assertNull(Optional.absent().orNull());
/external/guava/guava-tests/test/com/google/common/cache/
H A DCacheBuilderFactory.java123 return optional.orNull();
/external/turbine/java/com/google/turbine/binder/
H A DHierarchyBinder.java113 for (Tree.ClassTy curr = ty; curr != null; curr = curr.base().orNull()) {
H A DTypeBinder.java614 for (Tree.ClassTy curr = t; curr != null; curr = curr.base().orNull()) {
H A DConstEvaluator.java191 for (ClassTy curr = classTy; curr != null; curr = curr.base().orNull()) {
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
H A DKey.java153 .add("qualifier", qualifier().orNull())
/external/guava/guava/src/com/google/common/util/concurrent/
H A DFutures.java1784 result.add(element != null ? element.orNull() : null);
/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 593 milliseconds