Home
last modified time | relevance | path

Searched refs:isPresent (Results 1 – 18 of 18) sorted by relevance

/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DEnumsTest.java76 assertTrue(Enums.getIfPresent(TestEnum.class, "CHEETO").isPresent()); in testGetIfPresent()
77 assertTrue(Enums.getIfPresent(TestEnum.class, "HONDA").isPresent()); in testGetIfPresent()
78 assertTrue(Enums.getIfPresent(TestEnum.class, "POODLE").isPresent()); in testGetIfPresent()
86 assertFalse(Enums.getIfPresent(TestEnum.class, "cHEETO").isPresent()); in testGetIfPresent_caseSensitive()
87 assertFalse(Enums.getIfPresent(TestEnum.class, "Honda").isPresent()); in testGetIfPresent_caseSensitive()
88 assertFalse(Enums.getIfPresent(TestEnum.class, "poodlE").isPresent()); in testGetIfPresent_caseSensitive()
DOptionalTest.java40 assertFalse(optionalName.isPresent()); in testAbsent()
66 assertFalse(Optional.absent().isPresent()); in testIsPresent_no()
70 assertTrue(Optional.of("training").isPresent()); in testIsPresent_yes()
/external/guava/guava-tests/test/com/google/common/base/
DEnumsTest.java91 assertTrue(Enums.getIfPresent(TestEnum.class, "CHEETO").isPresent()); in testGetIfPresent()
92 assertTrue(Enums.getIfPresent(TestEnum.class, "HONDA").isPresent()); in testGetIfPresent()
93 assertTrue(Enums.getIfPresent(TestEnum.class, "POODLE").isPresent()); in testGetIfPresent()
101 assertFalse(Enums.getIfPresent(TestEnum.class, "cHEETO").isPresent()); in testGetIfPresent_caseSensitive()
102 assertFalse(Enums.getIfPresent(TestEnum.class, "Honda").isPresent()); in testGetIfPresent_caseSensitive()
103 assertFalse(Enums.getIfPresent(TestEnum.class, "poodlE").isPresent()); in testGetIfPresent_caseSensitive()
132 assertTrue(result.isPresent()); in doTestClassUnloading()
137 assertFalse(result.isPresent()); in doTestClassUnloading()
DOptionalTest.java43 assertFalse(optionalName.isPresent()); in testAbsent()
69 assertFalse(Optional.absent().isPresent()); in testIsPresent_no()
73 assertTrue(Optional.of("training").isPresent()); in testIsPresent_yes()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DBinaryTreeTraverser.java65 if (left.isPresent()) { in children()
72 if (right.isPresent()) { in children()
130 if (node.isPresent()) {
/external/guava/guava/src/com/google/common/collect/
DBinaryTreeTraverser.java71 if (left.isPresent()) { in children()
78 if (right.isPresent()) { in children()
207 if (node.isPresent()) {
/external/guava/guava/src/com/google/common/base/
DOptional.java103 public abstract boolean isPresent(); in isPresent() method in Optional
230 if (optional.isPresent()) { in presentInstances()
DPresent.java39 @Override public boolean isPresent() { in isPresent() method in Present
DAbsent.java42 @Override public boolean isPresent() { in isPresent() method in Absent
/external/guava/guava-gwt/src/com/google/common/base/
DGwtSerializationDependencies.java45 @Override public boolean isPresent() { in isPresent() method in GwtSerializationDependencies.OptionalDependencies
/external/guava/guava-testlib/src/com/google/common/testing/
DAbstractPackageSanityTests.java309 if (testedClassName.isPresent()) { in findClassesToTest()
/external/guava/guava-testlib/test/com/google/common/testing/
DArbitraryInstancesTest.java214 assertFalse(ArbitraryInstances.get(Optional.class).isPresent()); in testGet_misc()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DIteratorsTest.java398 Iterators.tryFind(iterator, Predicates.alwaysFalse()).isPresent()); in testTryFind_alwaysFalse_isPresent()
/external/guava/guava-tests/test/com/google/common/collect/
DIteratorsTest.java462 Iterators.tryFind(iterator, Predicates.alwaysFalse()).isPresent()); in testTryFind_alwaysFalse_isPresent()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.resources_3.6.1.R36x_v20101007-1215.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...