- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 309 for singleton (0.29 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/collect/ImmutableRangeSet.java
return CollectCollectors.toImmutableRangeSet(); } /** * Returns an empty immutable range set. * * <p><b>Performance note:</b> the instance returned is a singleton. */ @SuppressWarnings("unchecked") public static <C extends Comparable> ImmutableRangeSet<C> of() { return (ImmutableRangeSet<C>) EMPTY; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
return CollectCollectors.toImmutableBiMap(keyFunction, valueFunction); } /** * Returns the empty bimap. * * <p><b>Performance note:</b> the instance returned is a singleton. */ // Casting to any type is safe because the set will never hold any elements. @SuppressWarnings("unchecked") public static <K, V> ImmutableBiMap<K, V> of() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 22.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* * <p>Expressing the immutability guarantee directly in the type that user code references is a * powerful advantage. Although Java offers certain immutable collection factory methods, such as * {@link Collections#singleton(Object)} and <a * href="https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Set.html#unmodifiable">{@code * Set.of}</a>, we recommend using <i>these</i> classes instead for this reason (as well as forCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 18.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
import org.apache.maven.api.cli.mvnup.UpgradeOptions; 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.Build; import org.apache.maven.api.model.Model; import org.apache.maven.api.model.Parent; import org.apache.maven.api.model.Plugin; import org.apache.maven.api.model.PluginManagement;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 37K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultiset.java
return CollectCollectors.toImmutableMultiset(elementFunction, countFunction); } /** * Returns the empty immutable multiset. * * <p><b>Performance note:</b> the instance returned is a singleton. */ @SuppressWarnings("unchecked") // all supported methods are covariant public static <E> ImmutableMultiset<E> of() { return (ImmutableMultiset<E>) RegularImmutableMultiset.EMPTY; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 22.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
return CollectCollectors.flatteningToImmutableListMultimap(keyFunction, valuesFunction); } /** * Returns the empty multimap. * * <p><b>Performance note:</b> the instance returned is a singleton. */ // Casting is safe because the multimap will never hold any elements. @SuppressWarnings("unchecked") public static <K, V> ImmutableListMultimap<K, V> of() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 19.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/bsentity/dbmeta/UserDbm.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 27K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* * Use `new OkHttpClient()` to create a shared instance with the default settings: * * ```java * // The singleton HTTP client. * public final OkHttpClient client = new OkHttpClient(); * ``` * * Or use `new OkHttpClient.Builder()` to create a shared instance with custom settings: * * ```java * // The singleton HTTP client. * public final OkHttpClient client = new OkHttpClient.Builder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 51.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
assertEvalsToFalse(nasty); Predicate<? super Integer> stillNasty = SerializableTester.reserializeAndAssert(nasty); assertEvalsToFalse(stillNasty); } // enum singleton pattern private enum TrimStringFunction implements Function<String, String> { INSTANCE; @Override public String apply(String string) { return whitespace().trimFrom(string); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 32.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
Artifact.SCOPE_SYSTEM, new File(getBasedir(), "pom.xml").getAbsolutePath()); Set<Artifact> artifactDependencies = resolver.resolve(project, Collections.singleton(Artifact.SCOPE_COMPILE), session); assertEquals(1, artifactDependencies.size()); } @Test void testSystemScopeDependencyIsPresentInTheCompileClasspathElements() throws Exception {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 3.1K bytes - Click Count (0)