OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:checkNotNull
(Results
1 - 25
of
60
) sorted by null
1
2
3
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
SingletonImmutableMap.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
40
super(Collections.singletonMap(
checkNotNull
(key),
checkNotNull
(value)));
ImmutableCollection.java
27
import static com.google.common.base.Preconditions.
checkNotNull
;
148
checkNotNull
(elements); // for GWT
150
add(
checkNotNull
(element));
156
checkNotNull
(elements); // for GWT
158
add(
checkNotNull
(element));
164
checkNotNull
(elements); // for GWT
166
add(
checkNotNull
(elements.next()));
ImmutableSet.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
97
checkNotNull
(elements);
134
delegate.add(
checkNotNull
(first));
136
delegate.add(
checkNotNull
(elements.next()));
160
checkNotNull
(element);
192
contents.add(
checkNotNull
(element));
197
checkNotNull
(elements); // for GWT
ImmutableList.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
130
checkNotNull
(elements); // for GWT
147
checkNotNull
(elements); // for GWT
171
checkNotNull
(elements); // eager for GWT
294
contents.add(
checkNotNull
(element));
304
checkNotNull
(elements); // for GWT
/frameworks/base/core/java/com/android/internal/util/
Preconditions.java
33
public static <T> T
checkNotNull
(T reference) {
50
public static <T> T
checkNotNull
(T reference, Object errorMessage) {
/external/guava/guava/src/com/google/common/base/
Throwables.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
125
checkNotNull
(declaredType2);
155
propagateIfPossible(
checkNotNull
(throwable));
195
checkNotNull
(throwable);
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,
Predicates.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
128
checkNotNull
(first),
checkNotNull
(second)));
167
checkNotNull
(first),
checkNotNull
(second)));
304
this.predicate =
checkNotNull
(predicate);
429
this.clazz =
checkNotNull
(clazz);
458
this.clazz =
checkNotNull
(clazz);
485
this.target =
checkNotNull
(target);
524
this.p =
checkNotNull
(p)
[
all
...]
/external/guava/guava/src/com/google/common/eventbus/
EventHandler.java
49
Preconditions.
checkNotNull
(target,
51
Preconditions.
checkNotNull
(method, "EventHandler method cannot be null.");
/external/guava/guava/src/com/google/common/io/
LittleEndianDataInputStream.java
53
super(Preconditions.
checkNotNull
(in));
/external/guava/guava/src/com/google/common/util/concurrent/
ExecutionList.java
84
Preconditions.
checkNotNull
(runnable, "Runnable was null.");
85
Preconditions.
checkNotNull
(executor, "Executor was null.");
/external/guava/guava/src/com/google/common/collect/
Cut.java
17
import static com.google.common.base.Preconditions.
checkNotNull
;
234
super(
checkNotNull
(endpoint));
292
super(
checkNotNull
(endpoint));
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
Sets.java
20
import static com.google.common.base.Preconditions.
checkNotNull
;
133
*
checkNotNull
() here. For now, contemplate the irony that checking
137
checkNotNull
(iterable);
344
return new TreeSet<E>(
checkNotNull
(comparator));
401
checkNotNull
(collection);
584
checkNotNull
(set1, "set1");
585
checkNotNull
(set2, "set2");
643
checkNotNull
(set1, "set1");
644
checkNotNull
(set2, "set2");
680
checkNotNull
(set1, "set1")
[
all
...]
/packages/apps/Gallery2/tests/src/com/android/gallery3d/common/
UtilsTest.java
130
Utils.
checkNotNull
(new Object());
131
Utils.
checkNotNull
(0);
132
Utils.
checkNotNull
("");
136
Utils.
checkNotNull
(null);
/sdk/monkeyrunner/src/com/android/monkeyrunner/easy/
EasyMonkeyDevice.java
74
Preconditions.
checkNotNull
(ap);
79
Preconditions.
checkNotNull
(type, "Invalid touch type: " + tmpType);
96
Preconditions.
checkNotNull
(ap);
115
Preconditions.
checkNotNull
(ap);
135
Preconditions.
checkNotNull
(ap);
152
Preconditions.
checkNotNull
(ap);
169
Preconditions.
checkNotNull
(ap);
/external/guava/guava/src/com/google/common/primitives/
Booleans.java
21
import static com.google.common.base.Preconditions.
checkNotNull
;
135
checkNotNull
(array, "array");
136
checkNotNull
(target, "target");
242
checkNotNull
(separator);
318
//
checkNotNull
for GWT (do not optimize)
319
array[i] = (Boolean)
checkNotNull
(boxedArray[i]);
406
array[start + index] =
checkNotNull
(element); //
checkNotNull
for GWT (do not optimize)
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)
Chars.java
21
import static com.google.common.base.Preconditions.
checkNotNull
;
166
checkNotNull
(array, "array");
167
checkNotNull
(target, "target");
360
checkNotNull
(separator);
434
//
checkNotNull
for GWT (do not optimize)
435
array[i] = (Character)
checkNotNull
(boxedArray[i]);
522
array[start + index] =
checkNotNull
(element); //
checkNotNull
for GWT (do not optimize)
Doubles.java
21
import static com.google.common.base.Preconditions.
checkNotNull
;
155
checkNotNull
(array, "array");
156
checkNotNull
(target, "target");
304
checkNotNull
(separator);
377
//
checkNotNull
for GWT (do not optimize)
378
array[i] = (Double)
checkNotNull
(boxedArray[i]);
468
array[start + index] =
checkNotNull
(element); //
checkNotNull
for GWT (do not optimize)
Floats.java
21
import static com.google.common.base.Preconditions.
checkNotNull
;
152
checkNotNull
(array, "array");
153
checkNotNull
(target, "target");
301
checkNotNull
(separator);
374
//
checkNotNull
for GWT (do not optimize)
375
array[i] = (Float)
checkNotNull
(boxedArray[i]);
465
array[start + index] =
checkNotNull
(element); //
checkNotNull
for GWT (do not optimize)
Ints.java
21
import static com.google.common.base.Preconditions.
checkNotNull
;
173
checkNotNull
(array, "array");
174
checkNotNull
(target, "target");
369
checkNotNull
(separator);
441
//
checkNotNull
for GWT (do not optimize)
442
array[i] = (Integer)
checkNotNull
(boxedArray[i]);
529
array[start + index] =
checkNotNull
(element); //
checkNotNull
for GWT (do not optimize)
Longs.java
21
import static com.google.common.base.Preconditions.
checkNotNull
;
143
checkNotNull
(array, "array");
144
checkNotNull
(target, "target");
353
checkNotNull
(separator);
426
//
checkNotNull
for GWT (do not optimize)
427
array[i] = (Long)
checkNotNull
(boxedArray[i]);
514
array[start + index] =
checkNotNull
(element); //
checkNotNull
for GWT (do not optimize)
Shorts.java
21
import static com.google.common.base.Preconditions.
checkNotNull
;
171
checkNotNull
(array, "array");
172
checkNotNull
(target, "target");
366
checkNotNull
(separator);
439
//
checkNotNull
for GWT (do not optimize)
440
array[i] = (Short)
checkNotNull
(boxedArray[i]);
527
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/
Predicates.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
125
checkNotNull
(first),
checkNotNull
(second)));
164
checkNotNull
(first),
checkNotNull
(second)));
241
this.predicate =
checkNotNull
(predicate);
364
this.target =
checkNotNull
(target);
403
this.p =
checkNotNull
(p);
404
this.f =
checkNotNull
(f);
444
list.add(
checkNotNull
(element))
[
all
...]
Completed in 658 milliseconds
1
2
3