OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:absent
(Results
1 - 19
of
19
) sorted by null
/external/guava/guava/src/com/google/common/base/
Optional.java
34
* which case we say that the reference is "
absent
"); it is never said to "contain {@code
39
* a "a {@code T} that might be
absent
" as two distinct types in your program, which can
48
* have no value" (present in the map, with value {@code Optional.
absent
()})
76
public static <T> Optional<T>
absent
() {
method in class:Optional
77
return (Optional<T>)
Absent
.INSTANCE;
89
* reference; otherwise returns {@link Optional#
absent
}.
93
? Optional.<T>
absent
()
106
*
absent
, use {@link #or(Object)} or {@link #orNull} instead.
108
* @throws IllegalStateException if the instance is
absent
({@link #isPresent} returns
152
* are
absent
. Note that {@code Optional} instances of differing parameterized types ca
[
all
...]
/external/guava/guava-tests/test/com/google/common/base/
OptionalTest.java
41
Optional<String> optionalName = Optional.
absent
();
64
assertSame(Optional.
absent
(), Optional.fromNullable(null));
68
assertFalse(Optional.
absent
().isPresent());
76
Optional<String> optional = Optional.
absent
();
93
assertEquals("default", Optional.
absent
().or("default"));
101
assertEquals("fallback", Optional.
absent
().or(Suppliers.ofInstance("fallback")));
106
Optional<Object> absentOptional = Optional.
absent
();
119
assertEquals(Optional.of("fallback"), Optional.
absent
().or(Optional.of("fallback")));
127
assertNull(Optional.
absent
().orNull());
136
assertTrue("Returned set should be empty", Optional.
absent
().asSet().isEmpty())
160
assertEquals(Optional.<String>
absent
(), Optional.<Integer>
absent
());
method
[
all
...]
/external/smack/src/org/xbill/DNS/
Update.java
116
absent
(Name name) {
method in class:Update
125
absent
(Name name, int type) {
method in class:Update
/external/oauth/core/src/main/java/net/oauth/
OAuthMessage.java
227
* one or more parameters are
absent
.
233
List<String>
absent
= new ArrayList<String>();
local
236
absent
.add(required);
239
if (!
absent
.isEmpty()) {
241
problem.setParameter(OAuth.Problems.OAUTH_PARAMETERS_ABSENT, OAuth.percentEncode(
absent
));
/libcore/benchmarks/libs/
caliper.jar
/prebuilts/sdk/tools/lib/
guava-10.0.1.jar
lint.jar
lint_api.jar
lint_checks.jar
/prebuilts/tools/common/m2/internal/org/gradle/gradle-tooling-api/1.6/
gradle-tooling-api-1.6.jar
/prebuilts/tools/common/m2/internal/org/gradle/gradle-tooling-api/1.6-rc-1/
gradle-tooling-api-1.6-rc-1.jar
/prebuilts/tools/common/m2/internal/org/gradle/gradle-tooling-api/1.7/
gradle-tooling-api-1.7.jar
/external/droiddriver/libs/
guava-13.0.jar
/prebuilts/devtools/tools/lib/
guava-13.0.1.jar
/prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar
/prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/
guava-14.0.jar
/prebuilts/tools/common/guava-tools/
guava-13.0.1.jar
/prebuilts/tools/common/m2/internal/com/google/code/findbugs/findbugs/2.0.1/
findbugs-2.0.1.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/13.0.1/
guava-13.0.1.jar
Completed in 531 milliseconds