- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for ClassToInstanceMap (0.13 sec)
-
android/guava/src/com/google/common/collect/ClassToInstanceMap.java
* com.google.common.reflect.TypeToInstanceMap} instead. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#classtoinstancemap">{@code * ClassToInstanceMap}</a>. * * @param <B> the common supertype that all values will share. When in doubt, just use {@link * Object}, or use {@code @Nullable Object} to allow null values. * @since 2.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
* ImmutableClassToInstanceMap}. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#classtoinstancemap">{@code * ClassToInstanceMap}</a>. * * @author Kevin Bourrillion * @since 2.0 */ @J2ktIncompatible @GwtIncompatible @SuppressWarnings("serial") // using writeReplace instead of standard serialization
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 6.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java
public void testReplace_supportedPresent() { try { assertEquals(v0(), getMap().replace(k0(), v3())); expectReplacement(entry(k0(), v3())); } catch (ClassCastException tolerated) { // for ClassToInstanceMap expectUnchanged(); } } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplace_supportedPresentNoChange() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
import com.google.errorprone.annotations.Immutable; import java.io.Serializable; import java.util.Map; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.NonNull; /** * A {@link ClassToInstanceMap} whose contents will never change, with many other important * properties detailed at {@link ImmutableCollection}. * * @author Kevin Bourrillion * @since 2.0 */ @Immutable(containerOf = "B")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java
public void testReplace_supportedPresent() { try { assertEquals(v0(), getMap().replace(k0(), v3())); expectReplacement(entry(k0(), v3())); } catch (ClassCastException tolerated) { // for ClassToInstanceMap expectUnchanged(); } } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplace_supportedPresentNoChange() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import com.google.common.base.Splitter; import com.google.common.base.Stopwatch; import com.google.common.base.Ticker; import com.google.common.collect.BiMap; import com.google.common.collect.ClassToInstanceMap; import com.google.common.collect.ImmutableBiMap; import com.google.common.collect.ImmutableClassToInstanceMap; import com.google.common.collect.ImmutableCollection; import com.google.common.collect.ImmutableList;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 20.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
import com.google.errorprone.annotations.Immutable; import java.io.Serializable; import java.util.Map; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.NonNull; /** * A {@link ClassToInstanceMap} whose contents will never change, with many other important * properties detailed at {@link ImmutableCollection}. * * @author Kevin Bourrillion * @since 2.0 */ @Immutable(containerOf = "B")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/package-info.java
* {@link java.util.List}, yet has order-independent equality like a {@link java.util.Set}. * One typical use for a multiset is to represent a histogram. * <dt>{@link ClassToInstanceMap} * <dd>An extension of {@link java.util.Map} that associates a raw type with an instance of that * type. * </dl> * * <h2>Ranges</h2> * * <ul> * <li>{@link Range}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 06 16:29:45 UTC 2023 - 5K bytes - Viewed (0) -
guava/src/com/google/common/collect/package-info.java
* {@link java.util.List}, yet has order-independent equality like a {@link java.util.Set}. * One typical use for a multiset is to represent a histogram. * <dt>{@link ClassToInstanceMap} * <dd>An extension of {@link java.util.Map} that associates a raw type with an instance of that * type. * </dl> * * <h2>Ranges</h2> * * <ul> * <li>{@link Range}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 06 16:29:45 UTC 2023 - 5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import com.google.common.base.Splitter; import com.google.common.base.Stopwatch; import com.google.common.base.Ticker; import com.google.common.collect.BiMap; import com.google.common.collect.ClassToInstanceMap; import com.google.common.collect.ImmutableBiMap; import com.google.common.collect.ImmutableClassToInstanceMap; import com.google.common.collect.ImmutableCollection; import com.google.common.collect.ImmutableList;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 21.2K bytes - Viewed (0)