OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:checkNotNull
(Results
1 - 25
of
348
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/guava/guava-gwt/src-super/com/google/common/testing/super/com/google/common/testing/
Platform.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
32
return
checkNotNull
(object);
/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)));
SingletonImmutableList.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
36
super(Collections.singletonList(
checkNotNull
(element)));
SingletonImmutableSet.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
38
super(Collections.singleton(
checkNotNull
(element)));
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()));
/external/mockito/src/org/mockito/internal/util/
Checks.java
13
public static <T> T
checkNotNull
(T value, String checkedValue) {
21
checkNotNull
(iterable, checkedIterable);
23
checkNotNull
(item, "item in " + checkedIterable);
/external/jsilver/src/com/google/streamhtmlparser/impl/
StateTableTransition.java
57
Preconditions.
checkNotNull
(expression);
58
Preconditions.
checkNotNull
(from);
59
Preconditions.
checkNotNull
(to);
/external/droiddriver/src/com/google/android/droiddriver/finders/
ByAttribute.java
18
import static com.google.common.base.Preconditions.
checkNotNull
;
31
this.attribute =
checkNotNull
(attribute);
32
this.strategy =
checkNotNull
(strategy);
33
this.expected =
checkNotNull
(expected);
ChainFinder.java
31
this.parent = Preconditions.
checkNotNull
(parent);
32
this.child = Preconditions.
checkNotNull
(child);
/external/guava/guava/src/com/google/common/collect/
ContiguousSet.java
18
import static com.google.common.base.Preconditions.
checkNotNull
;
43
return headSet(
checkNotNull
(toElement), false);
47
return headSetImpl(
checkNotNull
(toElement), inclusive);
51
checkNotNull
(fromElement);
52
checkNotNull
(toElement);
59
checkNotNull
(fromElement);
60
checkNotNull
(toElement);
66
return tailSet(
checkNotNull
(fromElement), true);
70
return tailSetImpl(
checkNotNull
(fromElement), inclusive);
EmptyImmutableSortedMultiset.java
17
import static com.google.common.base.Preconditions.
checkNotNull
;
75
checkNotNull
(upperBound);
76
checkNotNull
(boundType);
82
checkNotNull
(lowerBound);
83
checkNotNull
(boundType);
BstMutationRule.java
17
import static com.google.common.base.Preconditions.
checkNotNull
;
49
this.balancePolicy =
checkNotNull
(balancePolicy);
50
this.nodeFactory =
checkNotNull
(nodeFactory);
51
this.modifier =
checkNotNull
(modifier);
StandardRowSortedTable.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
97
checkNotNull
(toElement);
104
checkNotNull
(fromElement);
105
checkNotNull
(toElement);
113
checkNotNull
(fromElement);
150
checkNotNull
(toKey);
157
checkNotNull
(fromKey);
158
checkNotNull
(toKey);
165
checkNotNull
(fromKey);
BstOperations.java
17
import static com.google.common.base.Preconditions.
checkNotNull
;
42
checkNotNull
(comparator);
71
checkNotNull
(comparator);
72
checkNotNull
(mutationRule);
92
checkNotNull
(path);
93
checkNotNull
(mutationRule);
164
checkNotNull
(root);
165
checkNotNull
(nodeFactory);
166
checkNotNull
(balancePolicy);
182
checkNotNull
(root)
[
all
...]
BstPath.java
17
import static com.google.common.base.Preconditions.
checkNotNull
;
38
this.tip =
checkNotNull
(tip);
Iterables.java
20
import static com.google.common.base.Preconditions.
checkNotNull
;
66
checkNotNull
(iterable);
82
return
checkNotNull
(iterable);
146
? ((Collection<?>) removeFrom).removeAll(
checkNotNull
(elementsToRemove))
164
? ((Collection<?>) removeFrom).retainAll(
checkNotNull
(elementsToRetain))
185
(List<T>) removeFrom,
checkNotNull
(predicate));
370
checkNotNull
(iterable);
415
checkNotNull
(a);
416
checkNotNull
(b);
432
checkNotNull
(a)
[
all
...]
/external/guava/guava-gwt/src/com/google/common/collect/
SingletonImmutableMap_CustomFieldSerializer.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
38
Object key =
checkNotNull
(reader.readObject());
39
Object value =
checkNotNull
(reader.readObject());
/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/jsilver/src/com/google/streamhtmlparser/
ExternalState.java
56
Preconditions.
checkNotNull
(name); // Developer error if it happens.
/external/guava/guava/src/com/google/common/base/
Optional.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
84
return new Present<T>(
checkNotNull
(reference));
176
checkNotNull
(optionals);
180
private final Iterator<Optional<T>> iterator =
checkNotNull
(optionals.iterator());
214
checkNotNull
(defaultValue, "use orNull() instead of or(null)");
219
checkNotNull
(secondChoice);
224
checkNotNull
(supplier);
267
return
checkNotNull
(defaultValue, "use orNull() instead of or(null)");
272
return (Optional)
checkNotNull
(secondChoice);
276
return
checkNotNull
(supplier.get()
[
all
...]
Strings.java
20
import static com.google.common.base.Preconditions.
checkNotNull
;
99
checkNotNull
(string); // eager for GWT.
131
checkNotNull
(string); // eager for GWT.
155
checkNotNull
(string); // eager for GWT.
191
checkNotNull
(a);
192
checkNotNull
(b);
215
checkNotNull
(a);
216
checkNotNull
(b);
Throwables.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
125
checkNotNull
(declaredType2);
155
propagateIfPossible(
checkNotNull
(throwable));
195
checkNotNull
(throwable);
/external/guava/guava/src/com/google/common/primitives/
UnsignedInteger.java
18
import static com.google.common.base.Preconditions.
checkNotNull
;
78
checkNotNull
(value);
111
checkNotNull
(val);
120
checkNotNull
(val);
130
checkNotNull
(val);
138
checkNotNull
(val);
146
checkNotNull
(val);
202
checkNotNull
(other);
UnsignedLong.java
18
import static com.google.common.base.Preconditions.
checkNotNull
;
75
checkNotNull
(value);
109
checkNotNull
(val);
118
checkNotNull
(val);
127
checkNotNull
(val);
135
checkNotNull
(val);
143
checkNotNull
(val);
208
checkNotNull
(o);
/external/guava/guava-testlib/src/com/google/common/testing/
Platform.java
19
import static com.google.common.base.Preconditions.
checkNotNull
;
38
checkNotNull
(object);
Completed in 951 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>