OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:checkNotNull
(Results
101 - 125
of
348
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/guava/guava/src/com/google/common/base/
Splitter.java
20
import static com.google.common.base.Preconditions.
checkNotNull
;
139
checkNotNull
(separatorMatcher);
211
checkNotNull
(separatorPattern);
359
checkNotNull
(trimmer);
371
checkNotNull
(sequence);
425
this.entrySplitter =
checkNotNull
(entrySplitter);
Equivalence.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
181
this.equivalence =
checkNotNull
(equivalence);
266
this.equivalence =
checkNotNull
(equivalence);
Preconditions.java
185
public static <T> T
checkNotNull
(T reference) {
202
public static <T> T
checkNotNull
(T reference, @Nullable Object errorMessage) {
226
public static <T> T
checkNotNull
(T reference,
/external/guava/guava/src/com/google/common/io/
CharStreams.java
67
Preconditions.
checkNotNull
(value);
86
Preconditions.
checkNotNull
(in);
87
Preconditions.
checkNotNull
(charset);
106
Preconditions.
checkNotNull
(out);
107
Preconditions.
checkNotNull
(charset);
126
Preconditions.
checkNotNull
(from);
/external/guava/guava-tests/test/com/google/common/base/
PreconditionsTest.java
130
String result = Preconditions.
checkNotNull
(NON_NULL_STRING);
136
Preconditions.
checkNotNull
(null);
143
String result = Preconditions.
checkNotNull
(NON_NULL_STRING, IGNORE_ME);
149
Preconditions.
checkNotNull
(null, new Message());
157
String result = Preconditions.
checkNotNull
(
164
Preconditions.
checkNotNull
(null, FORMAT, 5);
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
VariableSpeed.java
70
Preconditions.
checkNotNull
(executor);
169
checkNotNull
(context, "context");
170
checkNotNull
(intentUri, "intentUri");
176
checkNotNull
(path, "path");
181
checkNotNull
(source, "source");
398
private void
checkNotNull
(Object argument, String argumentName) {
/external/guava/guava/src/com/google/common/collect/
ImmutableMap.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
76
checkNotNull
(k1),
checkNotNull
(v1));
140
checkNotNull
(key, "null key"),
141
checkNotNull
(value, "null value"));
193
checkNotNull
(key);
194
checkNotNull
(value);
ImmutableMultimap.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
181
builderMultimap.put(
checkNotNull
(key),
checkNotNull
(value));
192
checkNotNull
(entry.getKey()),
checkNotNull
(entry.getValue()));
204
Collection<V> valueList = builderMultimap.get(
checkNotNull
(key));
206
valueList.add(
checkNotNull
(value));
246
checkNotNull
(keyComparator), builderMultimap);
257
this.valueComparator =
checkNotNull
(valueComparator);
ImmutableSetMultimap.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
208
builderMultimap.put(
checkNotNull
(key),
checkNotNull
(value));
219
checkNotNull
(entry.getKey()),
checkNotNull
(entry.getValue()));
224
Collection<V> collection = builderMultimap.get(
checkNotNull
(key));
226
collection.add(
checkNotNull
(value));
252
checkNotNull
(keyComparator), builderMultimap);
304
checkNotNull
(multimap); // eager for GWT
ImmutableSortedSet.java
20
import static com.google.common.base.Preconditions.
checkNotNull
;
317
checkNotNull
(comparator);
336
checkNotNull
(comparator);
360
checkNotNull
(comparator);
484
this.comparator =
checkNotNull
(comparator);
602
return headSetImpl(
checkNotNull
(toElement), inclusive);
625
checkNotNull
(fromElement);
626
checkNotNull
(toElement);
648
return tailSetImpl(
checkNotNull
(fromElement), inclusive);
RegularImmutableSortedMultiset.java
17
import static com.google.common.base.Preconditions.
checkNotNull
;
158
elementList(),
checkNotNull
(upperBound), comparator(), ANY_PRESENT, NEXT_HIGHER);
162
elementList(),
checkNotNull
(upperBound), comparator(), ANY_PRESENT, NEXT_LOWER) + 1;
176
elementList(),
checkNotNull
(lowerBound), comparator(), ANY_PRESENT, NEXT_LOWER) + 1;
180
elementList(),
checkNotNull
(lowerBound), comparator(), ANY_PRESENT, NEXT_HIGHER);
RegularImmutableSortedSet.java
20
import static com.google.common.base.Preconditions.
checkNotNull
;
204
elements,
checkNotNull
(toElement), comparator(), FIRST_AFTER, NEXT_HIGHER);
207
elements,
checkNotNull
(toElement), comparator(), FIRST_PRESENT, NEXT_HIGHER);
224
elements,
checkNotNull
(fromElement), comparator(), FIRST_PRESENT, NEXT_HIGHER);
227
elements,
checkNotNull
(fromElement), comparator(), FIRST_AFTER, NEXT_HIGHER);
SortedMaps.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
223
checkNotNull
(keyPredicate);
265
checkNotNull
(valuePredicate);
309
checkNotNull
(entryPredicate);
312
: new FilteredSortedMap<K, V>(
checkNotNull
(unfiltered), entryPredicate);
/external/guava/guava/src/com/google/common/cache/
CacheBuilder.java
21
import static com.google.common.base.Preconditions.
checkNotNull
;
251
keyEquivalence =
checkNotNull
(equivalence);
269
this.valueEquivalence =
checkNotNull
(equivalence);
421
me.weigher =
checkNotNull
(weigher);
467
keyStrength =
checkNotNull
(strength);
531
valueStrength =
checkNotNull
(strength);
631
checkNotNull
(unit);
654
this.ticker =
checkNotNull
(ticker);
701
me.removalListener =
checkNotNull
(listener);
[
all
...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableMultimap.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
180
builderMultimap.put(
checkNotNull
(key),
checkNotNull
(value));
191
checkNotNull
(entry.getKey()),
checkNotNull
(entry.getValue()));
203
Collection<V> valueList = builderMultimap.get(
checkNotNull
(key));
205
valueList.add(
checkNotNull
(value));
245
checkNotNull
(keyComparator), builderMultimap);
256
this.valueComparator =
checkNotNull
(valueComparator);
ImmutableSetMultimap.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
203
builderMultimap.put(
checkNotNull
(key),
checkNotNull
(value));
214
checkNotNull
(entry.getKey()),
checkNotNull
(entry.getValue()));
219
Collection<V> collection = builderMultimap.get(
checkNotNull
(key));
221
collection.add(
checkNotNull
(value));
247
checkNotNull
(keyComparator), builderMultimap);
299
checkNotNull
(multimap); // eager for GWT
/external/guava/guava/src/com/google/common/primitives/
Bytes.java
21
import static com.google.common.base.Preconditions.
checkNotNull
;
115
checkNotNull
(array, "array");
116
checkNotNull
(target, "target");
235
//
checkNotNull
for GWT (do not optimize)
236
array[i] = (Byte)
checkNotNull
(boxedArray[i]);
323
array[start + index] =
checkNotNull
(element); //
checkNotNull
for GWT (do not optimize)
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
Splitter.java
20
import static com.google.common.base.Preconditions.
checkNotNull
;
136
checkNotNull
(separatorMatcher);
301
checkNotNull
(trimmer);
313
checkNotNull
(sequence);
367
this.entrySplitter =
checkNotNull
(entrySplitter);
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
Splitter.java
20
import static com.android.mail.lib.base.Preconditions.
checkNotNull
;
132
checkNotNull
(separatorMatcher);
203
checkNotNull
(separatorPattern);
321
checkNotNull
(trimmer);
332
checkNotNull
(sequence);
PercentEscaper.java
18
import static com.android.mail.lib.base.Preconditions.
checkNotNull
;
118
checkNotNull
(safeChars); // eager for GWT.
190
checkNotNull
(s);
Preconditions.java
175
public static <T> T
checkNotNull
(T reference) {
192
public static <T> T
checkNotNull
(T reference, Object errorMessage) {
216
public static <T> T
checkNotNull
(T reference, String errorMessageTemplate,
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
Splitter.java
20
import static com.google.android.mail.common.base.Preconditions.
checkNotNull
;
132
checkNotNull
(separatorMatcher);
203
checkNotNull
(separatorPattern);
321
checkNotNull
(trimmer);
332
checkNotNull
(sequence);
/development/tools/idegen/src/com/android/idegen/
DirectorySearch.java
60
Preconditions.
checkNotNull
(file);
97
Preconditions.
checkNotNull
(file);
121
Preconditions.
checkNotNull
(file);
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
BiMapGenerators.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
74
checkNotNull
(entry);
113
checkNotNull
(entry);
/frameworks/base/core/java/android/net/
NetworkPolicy.java
19
import static com.android.internal.util.Preconditions.
checkNotNull
;
60
this.template =
checkNotNull
(template, "missing NetworkTemplate");
62
this.cycleTimezone =
checkNotNull
(cycleTimezone, "missing cycleTimezone");
Completed in 435 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>