- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 396 for singleton (0.09 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.management; import javax.inject.Named; import javax.inject.Singleton; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.apache.maven.model.Build;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Funnel.java
* serialization of funnels. When possible, it is recommended that funnels be implemented as a * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), Item * 3: "Enforce the singleton property with a private constructor or an enum type". For example: * * {@snippet : * public enum PersonFunnel implements Funnel<Person> { * INSTANCE; * public void funnel(Person person, PrimitiveSink into) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.normalization; import javax.inject.Named; import javax.inject.Singleton; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.apache.maven.model.Build;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.lifecycle.internal; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.time.Duration; import java.time.Instant; import java.util.HashSet; import java.util.List; import org.apache.maven.api.MonotonicClock; import org.apache.maven.execution.BuildSuccess;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 5.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
import static com.google.common.collect.testing.testers.Platform.listListIteratorTesterNumIterations; 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.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.testing.IteratorFeature;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/LogStream.java
* * @param stream the PrintStream to use for logging */ public static void setInstance(final PrintStream stream) { inst = new LogStream(stream); } /** * Returns the singleton LogStream instance. * * @return the LogStream instance */ public static LogStream getInstance() { if (inst == null) { setInstance(System.err); } return inst;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.artifact.manager; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.util.List; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepositoryFactory;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
import static com.google.common.collect.testing.features.CollectionSize.SEVERAL; import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE; import static java.util.Collections.singleton; import static java.util.Collections.singletonMap; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.SetMultimap; import com.google.common.collect.testing.features.CollectionSize;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.internal.transformation.impl; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import javax.xml.stream.XMLStreamException; import java.io.IOException; import java.io.UncheckedIOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 5.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/NaturalOrdering.java
@SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this?? public <S extends Comparable<?>> Ordering<S> reverse() { return (Ordering<S>) ReverseNaturalOrdering.INSTANCE; } // preserving singleton-ness gives equals()/hashCode() for free private Object readResolve() { return INSTANCE; } @Override public String toString() { return "Ordering.natural()"; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 01:34:19 GMT 2026 - 3K bytes - Click Count (0)