- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 342 for Singleton (0.1 sec)
-
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
assertFalse(entries.contains(Maps.immutableEntry("foo", singleton(2)))); assertFalse(entries.remove(Maps.immutableEntry("foo", singleton(2)))); assertTrue(map.containsKey("foo")); assertTrue(entries.contains(Maps.immutableEntry("foo", singleton(1)))); assertTrue(entries.remove(Maps.immutableEntry("foo", singleton(1)))); assertFalse(map.containsKey("foo")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetOperationsTest.java
checkArgument(elements.length == 1); return Sets.union(Sets.<String>newHashSet(elements), newHashSet(elements)); } }) .named("singleton U itself") .withFeatures(CollectionSize.ONE, CollectionFeature.ALLOWS_NULL_VALUES) .createTestSuite()); suite.addTest( SetTestSuiteBuilder.using(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 14.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
new TestStringSetGenerator() { @Override public Set<String> create(String[] elements) { return singleton(elements[0]); } }) .named("singleton") .withFeatures( CollectionFeature.SERIALIZABLE, CollectionFeature.ALLOWS_NULL_VALUES, CollectionSize.ONE)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.repository.legacy.resolver.transform; import javax.inject.Named; import javax.inject.Singleton; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.repository.ArtifactRepository;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.profile.activation; import javax.inject.Named; import javax.inject.Singleton; import org.apache.maven.model.Activation; import org.apache.maven.model.ActivationProperty; import org.apache.maven.model.Profile; import org.apache.maven.model.building.ModelProblem.Severity;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.toolchain.io; import javax.inject.Named; import javax.inject.Singleton; import javax.xml.stream.XMLStreamException; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.nio.file.Files; import java.util.Map;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
import static com.google.common.collect.testing.features.CollectionSize.ZERO; import static com.google.common.collect.testing.testers.ReflectionFreeAssertThrows.assertThrows; import static java.util.Collections.singleton; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.AbstractCollectionTester; import com.google.common.collect.testing.MinimalCollection;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
new TestStringSetGenerator() { @Override public Set<String> create(String[] elements) { return singleton(elements[0]); } }) .named("singleton") .withFeatures( CollectionFeature.SERIALIZABLE, CollectionFeature.ALLOWS_NULL_VALUES, CollectionSize.ONE)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 19.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.di.Inject; import org.apache.maven.api.di.Named; import org.apache.maven.api.di.Priority; import org.apache.maven.api.di.Singleton; import org.apache.maven.api.model.Plugin; import org.apache.maven.api.model.PluginContainer; import org.apache.maven.api.model.PluginExecution; import org.apache.maven.api.services.LifecycleRegistry;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.repository.internal; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.io.InputStream; import java.nio.file.Files; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.2K bytes - Viewed (0)