- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 351 for Singleton (0.04 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java
* under the License. */ package org.apache.maven.artifact.resolver; import javax.inject.Named; import javax.inject.Singleton; import java.util.ArrayList; import java.util.Collection; import java.util.List; /** */ @Named @Singleton @Deprecated public class DefaultResolutionErrorHandler implements ResolutionErrorHandler { @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
* limitations under the License. */ package com.google.common.collect.testing; import static com.google.common.collect.testing.ReflectionFreeAssertThrows.assertThrows; import static java.util.Collections.singleton; import com.google.common.annotations.GwtCompatible; import java.util.Collections; import java.util.Iterator; import java.util.NoSuchElementException; import junit.framework.TestCase; /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 2.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java
* under the License. */ package org.apache.maven.project.inheritance; import javax.inject.Named; import javax.inject.Singleton; import org.apache.maven.model.Build; import org.apache.maven.model.Model; /** * DefaultModelInheritanceAssembler */ @Named @Singleton @Deprecated public class DefaultModelInheritanceAssembler implements ModelInheritanceAssembler { @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
if (supportsRemove) { int initialSize = map.size(); assertTrue(keys.removeAll(singleton(key))); assertEquals(initialSize - 1, map.size()); assertFalse(map.containsKey(key)); } else { assertThrows(UnsupportedOperationException.class, () -> keys.removeAll(singleton(key))); } assertInvariants(map); } public void testKeySetRetainAll() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginJavaPrerequisiteChecker.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.plugin.internal; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import org.apache.maven.plugin.MavenPluginPrerequisitesChecker; import org.apache.maven.plugin.descriptor.PluginDescriptor; import org.eclipse.aether.version.InvalidVersionSpecificationException;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
assertEquals(singleton("bar"), set); set.clear(); assertTrue(set.isEmpty()); assertEquals(singleton("foo"), sortedTable.rowKeySet()); } public void testRowKeySetTailSet() { sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); Set<String> set = sortedTable.rowKeySet().tailSet("cat"); assertEquals(singleton("foo"), set); set.clear();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 15.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java
*/ package org.apache.maven.model.locator; import javax.inject.Named; import javax.inject.Singleton; import java.io.File; /** * Locates a POM file within a project base directory. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Named @Singleton @Deprecated(since = "4.0.0") public class DefaultModelLocator implements ModelLocator { @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 1.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolver.java
import javax.inject.Named; import javax.inject.Singleton; import org.apache.maven.artifact.resolver.ResolutionNode; /** * Resolves conflicting artifacts by always selecting the nearest declaration. Nearest is defined as the * declaration that has the least transitive steps away from the project being built. * * @since 3.0 */ @Named("nearest") @Singleton @DeprecatedCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 1.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/collector/RequestPomCollectionStrategy.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.project.collector; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.io.File; import java.util.Collections; import java.util.List; import org.apache.maven.execution.MavenExecutionRequest; import org.apache.maven.project.MavenProject;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/EarLifecycleMappingProvider.java
*/ package org.apache.maven.lifecycle.providers.packaging; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; /** * {@code ear} packaging plugins bindings provider for {@code default} lifecycle. */ @Named("ear") @Singleton public final class EarLifecycleMappingProvider extends AbstractLifecycleMappingProvider { // START SNIPPET: earCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.9K bytes - Click Count (0)