- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 393 for Singleton (0.06 seconds)
-
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt
newApi("Method", "SourceKt.wrap(java.util.Set,java.util.HashSet,java.util.LinkedHashSet)"), ) } } @Test fun `new top-level kotlin types`() { // Singleton INSTANCE fields of `object`s are public checkNotBinaryCompatibleKotlin( v2 = """ interface Foo class Bar enum class Bazar
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 17.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
return CollectCollectors.toImmutableRangeMap(keyFunction, valueFunction); } /** * Returns an empty immutable range map. * * <p><b>Performance note:</b> the instance returned is a singleton. */ @SuppressWarnings("unchecked") public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> of() { return (ImmutableRangeMap<K, V>) EMPTY; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 14.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapMaker.java
*/ @CanIgnoreReturnValue @GwtIncompatible // java.lang.ref.WeakReference public MapMaker weakValues() { return setValueStrength(Strength.WEAK); } /** * A dummy singleton value type used by {@link Interners}. * * <p>{@link MapMakerInternalMap} can optimize for memory usage in this case; see {@link * MapMakerInternalMap#createWithDummyValues}. */ enum Dummy { VALUE
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import static java.util.Collections.emptyList; import static java.util.Collections.emptySet; import static java.util.Collections.singleton; import static java.util.Collections.singletonList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.artifact.resolver; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.List; import java.util.Map;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 25K bytes - Click Count (0) -
guava/src/com/google/common/collect/Range.java
* </blockquote> * * <p>When both endpoints exist, the upper endpoint may not be less than the lower. The endpoints * may be equal only if at least one of the bounds is closed: * * <ul> * <li>{@code [a..a]} : a singleton range * <li>{@code [a..a); (a..a]} : {@linkplain #isEmpty empty} ranges; also valid * <li>{@code (a..a)} : <b>invalid</b>; an exception will be thrown * </ul> * * <h3>Warnings</h3> * * <ul>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 28.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMaker.java
*/ @CanIgnoreReturnValue @GwtIncompatible // java.lang.ref.WeakReference public MapMaker weakValues() { return setValueStrength(Strength.WEAK); } /** * A dummy singleton value type used by {@link Interners}. * * <p>{@link MapMakerInternalMap} can optimize for memory usage in this case; see {@link * MapMakerInternalMap#createWithDummyValues}. */ enum Dummy { VALUE
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import static java.util.Collections.emptyList; import static java.util.Collections.emptySet; import static java.util.Collections.singleton; import static java.util.Collections.singletonList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharStreams.java
} /** * Returns a {@link Writer} that simply discards written chars. * * <p><b>Java 11+ users:</b> use {@link Writer#nullWriter()} instead. Note that the {@link * CharStreams} method returns a singleton writer whose {@code close} method has no effect, while * the {@link Writer#nullWriter()} method returns a new instance whose methods throw after the * instance is {@link Writer#close() closed}. * * @since 15.0Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
rowFunction, columnFunction, valueFunction, mergeFunction); } /** * Returns an empty immutable table. * * <p><b>Performance note:</b> the instance returned is a singleton. */ @SuppressWarnings("unchecked") public static <R, C, V> ImmutableTable<R, C, V> of() { return (ImmutableTable<R, C, V>) SparseImmutableTable.EMPTY; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 17.4K bytes - Click Count (0)