/external/guava/guava/src/com/google/common/collect/ |
MapMaker.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 161 keyEquivalence = checkNotNull(equivalence); 182 this.valueEquivalence = checkNotNull(equivalence); 338 keyStrength = checkNotNull(strength); 411 valueStrength = checkNotNull(strength); 568 me.removalListener = checkNotNull(listener); [all...] |
BstModificationResult.java | 17 import static com.google.common.base.Preconditions.checkNotNull; 58 this.type = checkNotNull(type);
|
Collections2.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 87 checkNotNull(unfiltered), checkNotNull(predicate)); 197 checkNotNull(collection); 209 checkNotNull(collection); 271 this.fromCollection = checkNotNull(fromCollection); 272 this.function = checkNotNull(function); 305 checkNotNull(self);
|
ComparatorOrdering.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 36 this.comparator = checkNotNull(comparator);
|
TreeMultimap.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 95 return new TreeMultimap<K, V>(checkNotNull(keyComparator), 96 checkNotNull(valueComparator)); 189 keyComparator = checkNotNull((Comparator<? super K>) stream.readObject()); 190 valueComparator = checkNotNull((Comparator<? super V>) stream.readObject());
|
SortedLists.java | 17 import static com.google.common.base.Preconditions.checkNotNull; 191 checkNotNull(e); 193 list, checkNotNull(e), Ordering.natural(), presentBehavior, absentBehavior); 258 checkNotNull(comparator); 259 checkNotNull(list); 260 checkNotNull(presentBehavior); 261 checkNotNull(absentBehavior);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableMap.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 57 K key = checkNotNull(entry.getKey()); 58 V previous = delegate.put(key, checkNotNull(entry.getValue())); 74 checkNotNull(k1), checkNotNull(v1)); 106 return Maps.immutableEntry(checkNotNull(key), checkNotNull(value)); 121 checkNotNull(entry.getKey()); 122 checkNotNull(entry.getValue()); 182 checkNotNull(e.getKey()), checkNotNull(e.getValue())) [all...] |
ImmutableSortedMap.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 78 checkNotNull(comparator); 128 return copyOfInternal(map, checkNotNull(comparator)); 167 K key = checkNotNull(entry.getKey()); 168 V value = checkNotNull(entry.getValue()); 198 this.comparator = checkNotNull(comparator); 268 checkNotNull(toKey); 273 checkNotNull(toKey); 285 checkNotNull(fromKey); 286 checkNotNull(toKey) [all...] |
/external/droiddriver/src/com/google/android/droiddriver/ |
DroidDriverBuilder.java | 39 this.instrumentation = Preconditions.checkNotNull(instrumentation); 89 this.implementation = Preconditions.checkNotNull(implementation);
|
/external/guava/guava/src/com/google/common/base/ |
Enums.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 63 this.enumClass = checkNotNull(enumClass);
|
Suppliers.java | 51 Preconditions.checkNotNull(function); 52 Preconditions.checkNotNull(supplier); 88 : new MemoizingSupplier<T>(Preconditions.checkNotNull(delegate)); 155 this.delegate = Preconditions.checkNotNull(delegate); 215 return new ThreadSafeSupplier<T>(Preconditions.checkNotNull(delegate));
|
CharMatcher.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 238 checkNotNull(sequence); 247 checkNotNull(sequence); 270 checkNotNull(sequence); 279 return checkNotNull(other); 283 checkNotNull(other); 304 checkNotNull(sequence); 315 checkNotNull(sequence); 324 checkNotNull(sequence); 337 checkNotNull(replacement) [all...] |
Joiner.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 81 this.separator = checkNotNull(separator); 119 checkNotNull(appendable); 262 checkNotNull(nullText); 269 checkNotNull(nullText); // weird: just to satisfy NullPointerTester. 288 checkNotNull(appendable, "appendable"); 289 checkNotNull(parts, "parts"); 308 checkNotNull(nullText); // weird: just to satisfy NullPointerTester. 313 checkNotNull(kvs); // weird: just to satisfy NullPointerTester. 351 this.joiner = joiner; // only "this" is ever passed, so don't checkNotNull [all...] |
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/cache/ |
RemovalNotification.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 48 this.cause = checkNotNull(cause);
|
/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/math/ |
MathPreconditions.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 68 if (checkNotNull(x).signum() < 0) {
|
/external/guava/guava/src/com/google/common/primitives/ |
AndroidInteger.java | 21 import static com.google.common.base.Preconditions.checkNotNull; 42 checkNotNull(string);
|
/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/mockito/src/org/mockito/internal/util/reflection/ |
InstanceField.java | 30 this.field = Checks.checkNotNull(field, "field"); 31 this.instance = Checks.checkNotNull(instance, "instance");
|
/frameworks/base/core/java/android/hardware/camera2/ |
Face.java | 87 checkNotNull("bounds", bounds); 251 private static void checkNotNull(String name, Object obj) {
|
/external/guava/guava-tests/test/com/google/common/testing/ |
NullPointerTesterTest.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 61 checkNotNull(s); // expect NPE here on null 79 checkNotNull(s); // doesn't check if you said you'd accept null, but you don't 83 checkNotNull(s); // expect NPE here on null 98 checkNotNull(s); // doesn't check if you said you'd accept null, but you don't 353 public void oneArg(String s) { checkNotNull(s); } 357 public void twoArg(String s, Integer i) { checkNotNull(s); i.intValue(); } 358 public void twoMixedArgs(String s, @Nullable Integer i) { checkNotNull(s); } 360 checkNotNull(s); doThrow(i); 362 public void twoMixedArgs(@Nullable Integer i, String s) { checkNotNull(s); [all...] |
/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...] |
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
CharMatcher.java | 20 import static com.android.mail.lib.base.Preconditions.checkNotNull; 259 checkNotNull(sequence); 266 checkNotNull(sequence); 287 checkNotNull(sequence); 294 return checkNotNull(other); 297 checkNotNull(other); 315 checkNotNull(sequence); 324 checkNotNull(sequence); 331 checkNotNull(sequence); 343 checkNotNull(replacement) [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
CharMatcher.java | 20 import static com.google.android.mail.common.base.Preconditions.checkNotNull; 259 checkNotNull(sequence); 266 checkNotNull(sequence); 287 checkNotNull(sequence); 294 return checkNotNull(other); 297 checkNotNull(other); 315 checkNotNull(sequence); 324 checkNotNull(sequence); 331 checkNotNull(sequence); 343 checkNotNull(replacement) [all...] |