/libcore/ojluni/src/main/java/java/util/stream/ |
D | Collector.java | 264 Objects.requireNonNull(supplier); in of() 265 Objects.requireNonNull(accumulator); in of() 266 Objects.requireNonNull(combiner); in of() 267 Objects.requireNonNull(characteristics); in of() 296 Objects.requireNonNull(supplier); in of() 297 Objects.requireNonNull(accumulator); in of() 298 Objects.requireNonNull(combiner); in of() 299 Objects.requireNonNull(finisher); in of() 300 Objects.requireNonNull(characteristics); in of()
|
D | ReduceOps.java | 70 Objects.requireNonNull(reducer); in makeRef() 71 Objects.requireNonNull(combiner); in makeRef() 106 Objects.requireNonNull(operator); 157 Supplier<I> supplier = Objects.requireNonNull(collector).supplier(); 208 Objects.requireNonNull(seedFactory); 209 Objects.requireNonNull(accumulator); 210 Objects.requireNonNull(reducer); 246 Objects.requireNonNull(operator); 288 Objects.requireNonNull(operator); 344 Objects.requireNonNull(supplier); [all …]
|
D | MatchOps.java | 81 Objects.requireNonNull(predicate); in makeRef() 82 Objects.requireNonNull(matchKind); in makeRef() 110 Objects.requireNonNull(predicate); in makeInt() 111 Objects.requireNonNull(matchKind); in makeInt() 139 Objects.requireNonNull(predicate); in makeLong() 140 Objects.requireNonNull(matchKind); in makeLong() 169 Objects.requireNonNull(predicate); in makeDouble() 170 Objects.requireNonNull(matchKind); in makeDouble()
|
D | Sink.java | 250 this.downstream = Objects.requireNonNull(downstream); in ChainedReference() 282 this.downstream = Objects.requireNonNull(downstream); in ChainedInt() 314 this.downstream = Objects.requireNonNull(downstream); in ChainedLong() 346 this.downstream = Objects.requireNonNull(downstream); in ChainedDouble()
|
D | Streams.java | 84 Objects.requireNonNull(consumer); in tryAdvance() 102 Objects.requireNonNull(consumer); in forEachRemaining() 209 Objects.requireNonNull(consumer); in tryAdvance() 227 Objects.requireNonNull(consumer); in forEachRemaining() 402 Objects.requireNonNull(action); in tryAdvance() 416 Objects.requireNonNull(action); in forEachRemaining() 493 Objects.requireNonNull(action); in tryAdvance() 507 Objects.requireNonNull(action); in forEachRemaining() 584 Objects.requireNonNull(action); in tryAdvance() 598 Objects.requireNonNull(action); in forEachRemaining() [all …]
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | SimpleFileVisitor.java | 60 Objects.requireNonNull(dir); in preVisitDirectory() 61 Objects.requireNonNull(attrs); in preVisitDirectory() 75 Objects.requireNonNull(file); in visitFile() 76 Objects.requireNonNull(attrs); in visitFile() 90 Objects.requireNonNull(file); in visitFileFailed() 107 Objects.requireNonNull(dir); in postVisitDirectory()
|
/libcore/ojluni/src/main/java/java/util/ |
D | PrimitiveIterator.java | 113 Objects.requireNonNull(action); in forEachRemaining() 147 Objects.requireNonNull(action); in forEachRemaining() 187 Objects.requireNonNull(action); in forEachRemaining() 221 Objects.requireNonNull(action); in forEachRemaining() 260 Objects.requireNonNull(action); in forEachRemaining() 295 Objects.requireNonNull(action); in forEachRemaining()
|
D | StringJoiner.java | 121 Objects.requireNonNull(prefix, "The prefix must not be null"); in StringJoiner() 122 Objects.requireNonNull(delimiter, "The delimiter must not be null"); in StringJoiner() 123 Objects.requireNonNull(suffix, "The suffix must not be null"); in StringJoiner() 146 this.emptyValue = Objects.requireNonNull(emptyValue, in setEmptyValue() 209 Objects.requireNonNull(other); in merge()
|
D | Objects.java | 218 public static <T> T requireNonNull(T obj) { in requireNonNull() method in Objects 243 public static <T> T requireNonNull(T obj, String message) { in requireNonNull() method in Objects 300 return (obj != null) ? obj : requireNonNull(defaultObj, "defaultObj"); in requireNonNullElse() 320 : requireNonNull(requireNonNull(supplier, "supplier").get(), "supplier.get()"); in requireNonNullElseGet() 343 public static <T> T requireNonNull(T obj, Supplier<String> messageSupplier) { in requireNonNull() method in Objects
|
D | Comparator.java | 214 Objects.requireNonNull(other); in thenComparing() 433 Objects.requireNonNull(keyExtractor); in comparing() 434 Objects.requireNonNull(keyComparator); in comparing() 467 Objects.requireNonNull(keyExtractor); in comparing() 488 Objects.requireNonNull(keyExtractor); in comparingInt() 509 Objects.requireNonNull(keyExtractor); in comparingLong() 530 Objects.requireNonNull(keyExtractor); in comparingDouble()
|
D | Optional.java | 92 this.value = Objects.requireNonNull(value); in Optional() 170 Objects.requireNonNull(predicate); in filter() 207 Objects.requireNonNull(mapper); in map() 233 Objects.requireNonNull(mapper); in flatMap() 237 return Objects.requireNonNull(mapper.apply(value)); in flatMap()
|
D | Spliterators.java | 142 return new ArraySpliterator<>(Objects.requireNonNull(array), in spliterator() 177 checkFromToBounds(Objects.requireNonNull(array).length, fromIndex, toIndex); in spliterator() 206 return new IntArraySpliterator(Objects.requireNonNull(array), additionalCharacteristics); in spliterator() 239 checkFromToBounds(Objects.requireNonNull(array).length, fromIndex, toIndex); in spliterator() 268 return new LongArraySpliterator(Objects.requireNonNull(array), additionalCharacteristics); in spliterator() 305 checkFromToBounds(Objects.requireNonNull(array).length, fromIndex, toIndex); in spliterator() 334 return new DoubleArraySpliterator(Objects.requireNonNull(array), additionalCharacteristics); in spliterator() 371 checkFromToBounds(Objects.requireNonNull(array).length, fromIndex, toIndex); in spliterator() 420 return new IteratorSpliterator<>(Objects.requireNonNull(c), in spliterator() 451 return new IteratorSpliterator<>(Objects.requireNonNull(iterator), size, in spliterator() [all …]
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatter.java | 587 Objects.requireNonNull(dateStyle, "dateStyle"); in ofLocalizedDate() 615 Objects.requireNonNull(timeStyle, "timeStyle"); in ofLocalizedTime() 643 Objects.requireNonNull(dateTimeStyle, "dateTimeStyle"); in ofLocalizedDateTime() 672 Objects.requireNonNull(dateStyle, "dateStyle"); in ofLocalizedDateTime() 673 Objects.requireNonNull(timeStyle, "timeStyle"); in ofLocalizedDateTime() 1376 this.printerParser = Objects.requireNonNull(printerParser, "printerParser"); in DateTimeFormatter() 1378 this.locale = Objects.requireNonNull(locale, "locale"); in DateTimeFormatter() 1379 this.decimalStyle = Objects.requireNonNull(decimalStyle, "decimalStyle"); in DateTimeFormatter() 1380 this.resolverStyle = Objects.requireNonNull(resolverStyle, "resolverStyle"); in DateTimeFormatter() 1587 Objects.requireNonNull(resolverStyle, "resolverStyle"); in withResolverStyle() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | ObjectsTest.java | 186 assertEquals(h, Objects.requireNonNull(h)); in test_requireNonNull_T() 188 Objects.requireNonNull(null); in test_requireNonNull_T() 197 assertEquals(h, Objects.requireNonNull(h, "test")); in test_requireNonNull_T_String() 199 Objects.requireNonNull(null, "message"); in test_requireNonNull_T_String() 205 Objects.requireNonNull(null, (String) null); in test_requireNonNull_T_String() 214 assertEquals(h, Objects.requireNonNull(h, () -> "test")); in test_requireNonNull_T_Supplier() 216 Objects.requireNonNull(null, () -> "message"); in test_requireNonNull_T_Supplier() 224 Objects.requireNonNull(null, (Supplier<String>) null); in test_requireNonNull_T_Supplier() 231 assertEquals(h, Objects.requireNonNull(h, (Supplier<String>) null)); in test_requireNonNull_T_Supplier() 235 Objects.requireNonNull(null, () -> null); in test_requireNonNull_T_Supplier()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 136 Objects.requireNonNull(localDateTime, "localDateTime"); in ofBest() 137 Objects.requireNonNull(zone, "zone"); in ofBest() 158 Objects.requireNonNull(offset, "offset"); // protect against bad ZoneRules in ofBest() 173 Objects.requireNonNull(offset, "offset"); // protect against bad ZoneRules in ofInstant() 219 this.dateTime = Objects.requireNonNull(dateTime, "dateTime"); in ChronoZonedDateTimeImpl() 220 this.offset = Objects.requireNonNull(offset, "offset"); in ChronoZonedDateTimeImpl() 221 this.zone = Objects.requireNonNull(zone, "zone"); in ChronoZonedDateTimeImpl() 272 Objects.requireNonNull(zone, "zone"); in withZoneSameInstant() 311 Objects.requireNonNull(endExclusive, "endExclusive"); in until() 318 Objects.requireNonNull(unit, "unit"); in until()
|
/libcore/ojluni/src/main/java/java/time/ |
D | ZonedDateTime.java | 226 Objects.requireNonNull(clock, "clock"); in now() 361 Objects.requireNonNull(localDateTime, "localDateTime"); in ofLocal() 362 Objects.requireNonNull(zone, "zone"); in ofLocal() 379 … offset = Objects.requireNonNull(validOffsets.get(0), "offset"); // protect against bad ZoneRules in ofLocal() 401 Objects.requireNonNull(instant, "instant"); in ofInstant() 402 Objects.requireNonNull(zone, "zone"); in ofInstant() 427 Objects.requireNonNull(localDateTime, "localDateTime"); in ofInstant() 428 Objects.requireNonNull(offset, "offset"); in ofInstant() 429 Objects.requireNonNull(zone, "zone"); in ofInstant() 469 Objects.requireNonNull(localDateTime, "localDateTime"); in ofStrict() [all …]
|
D | Clock.java | 197 Objects.requireNonNull(zone, "zone"); in system() 280 Objects.requireNonNull(baseClock, "baseClock"); in tick() 281 Objects.requireNonNull(tickDuration, "tickDuration"); in tick() 315 Objects.requireNonNull(fixedInstant, "fixedInstant"); in fixed() 316 Objects.requireNonNull(zone, "zone"); in fixed() 341 Objects.requireNonNull(baseClock, "baseClock"); in offset() 342 Objects.requireNonNull(offsetDuration, "offsetDuration"); in offset()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentMap.java | 113 Objects.requireNonNull(action); in forEach() 288 Objects.requireNonNull(function); in replaceAll() 329 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 371 Objects.requireNonNull(remappingFunction); in computeIfPresent() 479 Objects.requireNonNull(remappingFunction); in merge() 480 Objects.requireNonNull(value); in merge()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneRulesProvider.java | 182 Objects.requireNonNull(zoneId, "zoneId"); in getRules() 211 Objects.requireNonNull(zoneId, "zoneId"); in getVersions() 250 Objects.requireNonNull(provider, "provider"); in registerProvider() 263 Objects.requireNonNull(zoneId, "zoneId"); in registerProvider0()
|
/libcore/luni/src/main/java/android/compat/ |
D | Compatibility.java | 86 sCallbacks = Objects.requireNonNull(callbacks); in setCallbacks() 142 this.enabled = Objects.requireNonNull(enabled); in ChangeConfig() 143 this.disabled = Objects.requireNonNull(disabled); in ChangeConfig() 222 this.delegate = Objects.requireNonNull(delegate); in OverrideCallbacks() 223 this.changeConfig = Objects.requireNonNull(changeConfig); in OverrideCallbacks()
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | IntUnaryOperator.java | 65 Objects.requireNonNull(before); in compose() 83 Objects.requireNonNull(after); in andThen()
|
D | DoubleUnaryOperator.java | 65 Objects.requireNonNull(before); in compose() 83 Objects.requireNonNull(after); in andThen()
|
D | LongUnaryOperator.java | 65 Objects.requireNonNull(before); in compose() 83 Objects.requireNonNull(after); in andThen()
|
D | IntPredicate.java | 69 Objects.requireNonNull(other); in and() 101 Objects.requireNonNull(other); in or()
|
D | LongPredicate.java | 69 Objects.requireNonNull(other); in and() 101 Objects.requireNonNull(other); in or()
|