Home
last modified time | relevance | path

Searched refs:orNull (Results 1 – 11 of 11) sorted by relevance

/external/guava/guava-gwt/src/com/google/common/base/
DGwtSerializationDependencies.java65 @Override public T orNull() { in orNull() method in GwtSerializationDependencies.OptionalDependencies
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DOptionalTest.java126 assertEquals("a", Optional.of("a").orNull()); in testOrNull_present()
130 assertNull(Optional.absent().orNull()); in testOrNull_absent()
/external/guava/guava/src/com/google/common/base/
DPresent.java62 @Override public T orNull() { in orNull() method in Present
DAbsent.java64 @Override @Nullable public T orNull() { in orNull() method in Absent
DOptional.java165 public abstract T orNull(); in orNull() method in Optional
/external/guava/guava-tests/test/com/google/common/base/
DOptionalTest.java129 assertEquals("a", Optional.of("a").orNull()); in testOrNull_present()
133 assertNull(Optional.absent().orNull()); in testOrNull_absent()
/external/guava/guava/src/com/google/common/reflect/
DParameter.java111 .orNull(); in getDeclaredAnnotation()
/external/guice/core/test/com/google/inject/
DNullableInjectionPointTest.java205 return foo.orNull();
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderFactory.java123 return optional.orNull();
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DKey.java153 .add("qualifier", qualifier().orNull())
/external/guava/guava/src/com/google/common/util/concurrent/
DFutures.java1784 result.add(element != null ? element.orNull() : null);