- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 257 for singleton (0.06 sec)
-
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; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (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/javase/9/docs/api/java/util/Set.html#immutable">{@code Set.of}</a>, * we recommend using <i>these</i> classes instead for this reason (as well as for consistency). *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.7K bytes - Viewed (0) -
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() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
android/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/javase/9/docs/api/java/util/Set.html#immutable">{@code Set.of}</a>, * we recommend using <i>these</i> classes instead for this reason (as well as for consistency). *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
} } private static class SingletonHolder { private static final SecurityAuditLogger INSTANCE = new SecurityAuditLogger(); } /** * Get the singleton instance * * @return SecurityAuditLogger instance */ public static SecurityAuditLogger getInstance() { return SingletonHolder.INSTANCE; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
return result; } catch (Exception e) { log.warn("Failed to create fresh context, using singleton", e); try { // Fallback to singleton with fresh auth NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(SingletonContext.getInstance(), WORKGROUP, USERNAME, PASSWORD);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (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() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
android/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; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/bsentity/dbmeta/UserDbm.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 27K bytes - Viewed (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()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 51.7K bytes - Viewed (0)