- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for requireNonNull (0.09 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java
static DependencyCoordinatesFactoryRequest build( @Nonnull Session session, @Nonnull ArtifactCoordinates coordinates) { return builder() .session(requireNonNull(session, "session cannot be null")) .groupId(requireNonNull(coordinates, "coordinates cannot be null") .getGroupId()) .artifactId(coordinates.getArtifactId())
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
RegularImmutableMap<K, V> empty = (RegularImmutableMap<K, V>) EMPTY; return empty; } else if (n == 1) { // requireNonNull is safe because the first `2*n` elements have been filled in. checkEntryNotNull( requireNonNull(alternatingKeysAndValues[0]), requireNonNull(alternatingKeysAndValues[1])); return new RegularImmutableMap<K, V>(null, alternatingKeysAndValues, 1); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.5K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
boolean embedded) { this.command = requireNonNull(command, "command"); this.commandName = requireNonNull(commandName, "commandName"); this.args = List.copyOf(requireNonNull(args, "args")); this.logger = requireNonNull(logger, "logger"); this.messageBuilderFactory = requireNonNull(messageBuilderFactory, "messageBuilderFactory");
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
submittingTaskQueue.nextTask = task; // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer). submittingTaskQueue.nextExecutor = requireNonNull(delegate); delegate = null; } else { // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer). Executor localDelegate = requireNonNull(delegate); delegate = null;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 22.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
*/ @InlineMe( replacement = "requireNonNull(this.rowKeySet().comparator())", staticImports = "java.util.Objects.requireNonNull") @Deprecated public final Comparator<? super R> rowComparator() { /* * requireNonNull is safe because the factories require non-null Comparators, which they pass on * to the backing collections. */ return requireNonNull(rowKeySet().comparator()); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeBasedTable.java
*/ @InlineMe( replacement = "requireNonNull(this.rowKeySet().comparator())", staticImports = "java.util.Objects.requireNonNull") @Deprecated public final Comparator<? super R> rowComparator() { /* * requireNonNull is safe because the factories require non-null Comparators, which they pass on * to the backing collections. */ return requireNonNull(rowKeySet().comparator()); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
super.addAll(elements); return this; } @CanIgnoreReturnValue Builder<E> combine(Builder<E> other) { requireNonNull(impl); requireNonNull(other.impl); /* * For discussion of requireNonNull, see the comment on the field. * * (And I don't believe there's any situation in which we call x.combine(y) when x is a plain
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
return builder(requireNonNull(request, "request cannot be null")) .source(requireNonNull(source, "source cannot be null")) .build(); } @Nonnull static ModelBuilderRequest build(@Nonnull Session session, @Nonnull ModelSource source) { return builder() .session(requireNonNull(session, "session cannot be null"))
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 20:54:22 UTC 2025 - 16.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
// requireNonNull is safe (under the conditions listed in the comment in the branch above). KeyList<K, V> keyList = requireNonNull(keyToKeyList.get(node.getKey())); keyList.count--; if (node.previousSibling == null) { // requireNonNull is safe because we checked that not *both* siblings were null. keyList.head = requireNonNull(node.nextSibling); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.6K bytes - Viewed (0)