/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
D | SameThreadScheduledExecutorService.java | 76 Preconditions.checkNotNull(unit, "unit must not be null!"); in awaitTermination() 82 Preconditions.checkNotNull(task, "task must not be null!"); in submit() 88 Preconditions.checkNotNull(task, "task must not be null!"); in submit() 89 Preconditions.checkNotNull(result, "result must not be null!"); in submit() 95 Preconditions.checkNotNull(task, "task must not be null!"); in submit() 102 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAll() 110 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAll() 111 Preconditions.checkNotNull(unit, "unit must not be null!"); in invokeAll() 118 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAny() 126 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAny() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | TestThread.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 68 this.lockLikeObject = checkNotNull(lockLikeObject); in TestThread() 91 checkNotNull(methodName); in callAndAssertReturns() 92 checkNotNull(arguments); in callAndAssertReturns() 103 checkNotNull(methodName); in callAndAssertReturns() 104 checkNotNull(arguments); in callAndAssertReturns() 115 checkNotNull(methodName); in callAndAssertReturns() 116 checkNotNull(arguments); in callAndAssertReturns() 127 checkNotNull(expected); in callAndAssertThrows() 128 checkNotNull(methodName); in callAndAssertThrows() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | ContiguousSet.java | 18 import static com.google.common.base.Preconditions.checkNotNull; 54 checkNotNull(range); in create() 55 checkNotNull(domain); in create() 87 return headSetImpl(checkNotNull(toElement), false); in headSet() 95 return headSetImpl(checkNotNull(toElement), inclusive); in headSet() 99 checkNotNull(fromElement); in subSet() 100 checkNotNull(toElement); in subSet() 111 checkNotNull(fromElement); in subSet() 112 checkNotNull(toElement); in subSet() 118 return tailSetImpl(checkNotNull(fromElement), true); in tailSet() [all …]
|
D | Iterables.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 66 checkNotNull(iterable); in unmodifiableIterable() 82 return checkNotNull(iterable); in unmodifiableIterable() 139 ? ((Collection<?>) removeFrom).removeAll(checkNotNull(elementsToRemove)) in removeAll() 157 ? ((Collection<?>) removeFrom).retainAll(checkNotNull(elementsToRetain)) in retainAll() 178 (List<T>) removeFrom, checkNotNull(predicate)); in removeIf() 238 checkNotNull(predicate); in removeFirstMatching() 354 return Iterators.addAll(addTo, checkNotNull(elementsToAdd).iterator()); in addAll() 391 checkNotNull(iterable); in cycle() 494 checkNotNull(inputs); [all …]
|
D | Iterators.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 157 checkNotNull(iterator); in unmodifiableIterator() 181 return checkNotNull(iterator); 232 checkNotNull(predicate); 358 checkNotNull(addTo); 359 checkNotNull(iterator); 393 checkNotNull(iterable); 531 checkNotNull(inputs); 546 while (!(currentHasNext = checkNotNull(current).hasNext()) 612 checkNotNull(iterator); [all …]
|
D | TreeTraverser.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 70 checkNotNull(root); in preOrderTraversal() 89 stack.addLast(Iterators.singletonIterator(checkNotNull(root))); 100 T result = checkNotNull(itr.next()); 120 checkNotNull(root); 139 this.root = checkNotNull(root); 140 this.childIterator = checkNotNull(childIterator); 180 checkNotNull(root);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | TreeTraverser.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 62 checkNotNull(root); in preOrderTraversal() 81 stack.addLast(Iterators.singletonIterator(checkNotNull(root))); 92 T result = checkNotNull(itr.next()); 112 checkNotNull(root); 131 this.root = checkNotNull(root); 132 this.childIterator = checkNotNull(childIterator); 172 checkNotNull(root); 187 queue.add(checkNotNull(root)); 204 queue.add(checkNotNull(child));
|
D | ImmutableCollection.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 108 checkNotNull(elements); // for GWT in add() 110 add(checkNotNull(element)); in add() 116 checkNotNull(elements); // for GWT in addAll() 118 add(checkNotNull(element)); in addAll() 124 checkNotNull(elements); // for GWT in addAll() 126 add(checkNotNull(elements.next())); in addAll()
|
D | Iterables.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 64 checkNotNull(iterable); in unmodifiableIterable() 80 return checkNotNull(iterable); in unmodifiableIterable() 137 ? ((Collection<?>) removeFrom).removeAll(checkNotNull(elementsToRemove)) in removeAll() 155 ? ((Collection<?>) removeFrom).retainAll(checkNotNull(elementsToRetain)) in retainAll() 176 (List<T>) removeFrom, checkNotNull(predicate)); in removeIf() 236 checkNotNull(predicate); in removeFirstMatching() 337 return Iterators.addAll(addTo, checkNotNull(elementsToAdd).iterator()); in addAll() 374 checkNotNull(iterable); in cycle() 477 checkNotNull(inputs); [all …]
|
D | ImmutableSortedSet.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 67 checkNotNull(comparator); in emptySet() 121 checkNotNull(elements); in ofInternal() 128 checkNotNull(element); in ofInternal() 154 checkNotNull(comparator); in copyOf() 160 checkNotNull(comparator); in copyOf() 166 checkNotNull(comparator); in copyOf() 182 checkNotNull(comparator); in copyOfInternal() 202 checkNotNull(comparator); in copyOfInternal() 209 checkNotNull(element); in copyOfInternal() [all …]
|
D | ContiguousSet.java | 18 import static com.google.common.base.Preconditions.checkNotNull; 51 checkNotNull(range); in create() 52 checkNotNull(domain); in create() 84 return headSetImpl(checkNotNull(toElement), false); in headSet() 88 checkNotNull(fromElement); in subSet() 89 checkNotNull(toElement); in subSet() 95 return tailSetImpl(checkNotNull(fromElement), true); in tailSet()
|
D | Iterators.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 155 checkNotNull(iterator); in unmodifiableIterator() 179 return checkNotNull(iterator); 230 checkNotNull(predicate); 340 checkNotNull(addTo); 341 checkNotNull(iterator); 375 checkNotNull(iterable); 513 checkNotNull(inputs); 528 while (!(currentHasNext = checkNotNull(current).hasNext()) 594 checkNotNull(iterator); [all …]
|
D | SingletonImmutableBiMap.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 42 super(Collections.singletonMap(checkNotNull(key), checkNotNull(value))); in SingletonImmutableBiMap() 49 super(Collections.singletonMap(checkNotNull(key), checkNotNull(value))); in SingletonImmutableBiMap()
|
/external/guava/guava/src/com/google/common/io/ |
D | CharStreams.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 64 checkNotNull(from); in copy() 65 checkNotNull(to); in copy() 138 checkNotNull(readable); in readLines() 139 checkNotNull(processor); in readLines() 163 checkNotNull(reader); in skipFully() 197 checkNotNull(cbuf); in write() 207 checkNotNull(str); in write() 217 checkNotNull(csq); in append() 266 checkNotNull(readable); in asReader()
|
D | Files.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 83 checkNotNull(file); in newReader() 84 checkNotNull(charset); in newReader() 100 checkNotNull(file); in newWriter() 101 checkNotNull(charset); in newWriter() 120 this.file = checkNotNull(file); in FileByteSource() 194 this.file = checkNotNull(file); in FileByteSink() 375 checkNotNull(file1); in equal() 376 checkNotNull(file2); in equal() 436 checkNotNull(file); in touch() [all …]
|
D | GwtWorkarounds.java | 17 import static com.google.common.base.Preconditions.checkNotNull; 53 checkNotNull(reader); in asCharInput() 71 checkNotNull(chars); 104 checkNotNull(input); 113 checkNotNull(b); 154 checkNotNull(output); 187 checkNotNull(writer);
|
/external/guava/guava/src/com/google/common/eventbus/ |
D | AsyncEventBus.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 52 this.executor = checkNotNull(executor); in AsyncEventBus() 68 this.executor = checkNotNull(executor); in AsyncEventBus() 81 this.executor = checkNotNull(executor); in AsyncEventBus() 111 checkNotNull(event); in dispatch() 112 checkNotNull(subscriber); in dispatch()
|
D | SubscriberExceptionContext.java | 18 import static com.google.common.base.Preconditions.checkNotNull; 42 this.eventBus = checkNotNull(eventBus); in SubscriberExceptionContext() 43 this.event = checkNotNull(event); in SubscriberExceptionContext() 44 this.subscriber = checkNotNull(subscriber); in SubscriberExceptionContext() 45 this.subscriberMethod = checkNotNull(subscriberMethod); in SubscriberExceptionContext()
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheLoader.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 95 checkNotNull(key); in reload() 96 checkNotNull(oldValue); in reload() 146 this.computingFunction = checkNotNull(computingFunction); in FunctionToCacheLoader() 151 return computingFunction.apply(checkNotNull(key)); in load() 184 checkNotNull(loader); in asyncReloading() 185 checkNotNull(executor); in asyncReloading() 216 this.computingSupplier = checkNotNull(computingSupplier); 221 checkNotNull(key);
|
/external/guava/guava/src/com/google/common/primitives/ |
D | UnsignedLong.java | 18 import static com.google.common.base.Preconditions.checkNotNull; 94 checkNotNull(value); in valueOf() 130 return fromLongBits(this.value + checkNotNull(val).value); in plus() 140 return fromLongBits(this.value - checkNotNull(val).value); in minus() 151 return fromLongBits(value * checkNotNull(val).value); in times() 161 return fromLongBits(UnsignedLongs.divide(value, checkNotNull(val).value)); in dividedBy() 171 return fromLongBits(UnsignedLongs.remainder(value, checkNotNull(val).value)); in mod() 235 checkNotNull(o); in compareTo()
|
D | UnsignedInteger.java | 18 import static com.google.common.base.Preconditions.checkNotNull; 90 checkNotNull(value); in valueOf() 126 return fromIntBits(this.value + checkNotNull(val).value); in plus() 137 return fromIntBits(value - checkNotNull(val).value); in minus() 150 return fromIntBits(value * checkNotNull(val).value); in times() 161 return fromIntBits(UnsignedInts.divide(value, checkNotNull(val).value)); in dividedBy() 172 return fromIntBits(UnsignedInts.remainder(value, checkNotNull(val).value)); in mod() 227 checkNotNull(other); in compareTo()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | FakeTimeLimiter.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 41 checkNotNull(target); in newProxy() 42 checkNotNull(interfaceType); in newProxy() 43 checkNotNull(timeoutUnit); in newProxy() 50 checkNotNull(timeoutUnit); in callWithTimeout()
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | ClassSanityTesterTest.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 633 checkNotNull(x); in InstantiableFactoryMethodChosen() 642 checkNotNull(s); in create() 662 this.wrapped = checkNotNull(wrapped); in Wrapper() 694 checkNotNull(name); in InstantiableConstructorChosen() 699 checkNotNull(x); in InstantiableConstructorChosen() 714 this.a = checkNotNull(a); in GoodEquals() 782 this.i = checkNotNull(i); in SameIntegerInstance() 804 this.i = checkNotNull(i); in SameLongInstance() 826 this.i = checkNotNull(i); in SameFloatInstance() [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | Strings.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 99 checkNotNull(string); // eager for GWT. in padStart() 131 checkNotNull(string); // eager for GWT. in padEnd() 155 checkNotNull(string); // eager for GWT. in repeat() 190 checkNotNull(a); in commonPrefix() 191 checkNotNull(b); in commonPrefix() 213 checkNotNull(a); in commonSuffix() 214 checkNotNull(b); in commonSuffix()
|
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | UnsignedInteger.java | 18 import static com.google.common.base.Preconditions.checkNotNull; 89 checkNotNull(value); in valueOf() 125 return fromIntBits(this.value + checkNotNull(val).value); in plus() 136 return fromIntBits(value - checkNotNull(val).value); in minus() 147 return fromIntBits(UnsignedInts.divide(value, checkNotNull(val).value)); in dividedBy() 158 return fromIntBits(UnsignedInts.remainder(value, checkNotNull(val).value)); in mod() 213 checkNotNull(other); in compareTo()
|