- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 2,254 for nullif (0.04 seconds)
-
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
queue[size] = null; return null; } E toTrickle = elementData(size); queue[size] = null; MoveDesc<E> changes = fillHole(index, toTrickle); if (lastElementAt < index) { // Last element is moved to before index, swapped with trickled element. if (changes == null) { // The trickled element is still after index.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 33.9K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java
this.servers = (servers != null) ? servers : new ArrayList<>(); this.proxies = (proxies != null) ? proxies : new ArrayList<>(); this.problems = (problems != null) ? problems : new ArrayList<>(); } @Override public Server getServer() { return servers.isEmpty() ? null : servers.get(0); } @Override public List<Server> getServers() {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* NullPointerException} or {@link UnsupportedOperationException} whenever null is passed to a * parameter whose declaration or type isn't annotated with an annotation with the simple name * {@code Nullable}, {@code CheckForNull}, {@code NullableType}, or {@code NullableDecl}. * * <p>The tested methods and constructors are invoked -- each time with one parameter being null and * the rest not null -- and the test fails if no expected exception is thrown. {@codeCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractTable.java
Map<C, V> row = safeGet(rowMap(), rowKey); return row != null && Maps.safeContainsKey(row, columnKey); } @Override public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) { Map<C, V> row = safeGet(rowMap(), rowKey); return (row == null) ? null : safeGet(row, columnKey); } @Override public boolean isEmpty() { return size() == 0; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* * @param key the key under which to store the session data, must not be {@code null} * @param oldValue the expected data currently associated with the key, may be {@code null} * @param newValue the data to associate with the key, may be {@code null} to remove the mapping * @return {@code true} if the key mapping was successfully updated from the old value to the new value,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectCollectors.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
notEqualObject1 = new ValidTestObject(0, 2); } /** Test null reference yields error */ public void testAddNullReference() { assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null)); } /** Test equalObjects after adding multiple instances at once with a null */ public void testAddTwoEqualObjectsAtOnceWithNull() { assertThrows(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java
null, dependency.getType())); } @Nonnull default DependencyCoordinates create(@Nonnull Session session, Plugin plugin) { // TODO: hard coded string return create(DependencyCoordinatesFactoryRequest.build( session, plugin.getGroupId(), plugin.getArtifactId(), plugin.getVersion(), null, null, "maven-plugin")); } @NonnullCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Aug 27 21:13:34 GMT 2024 - 3.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
@Test void testVersionlessManagedDependency() throws Exception { File pomFile = new File("src/test/resources/projects/versionless-managed-dependency.xml"); MavenSession mavenSession = createMavenSession(null); ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest(); configuration.setRepositorySession(mavenSession.getRepositorySession());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 17.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java
// Intentionally notNull because Super POM may not contain a modelId Objects.requireNonNull(modelId, "modelId cannot null"); if (activeProfiles != null) { this.activePomProfiles.put(modelId, new ArrayList<>(activeProfiles)); } else { this.activePomProfiles.remove(modelId); } return this;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.2K bytes - Click Count (0)