- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for invariantly (0.21 sec)
-
android/guava/src/com/google/common/reflect/TypeResolver.java
} /** * Returns a resolver that resolves types "covariantly". * * <p>For example, when resolving {@code List<T>} in the context of {@code ArrayList<?>}, {@code * <T>} is covariantly resolved to {@code <?>} such that return type of {@code List::get} is * {@code <?>}. */ static TypeResolver covariantly(Type contextType) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
} /** * Returns a resolver that resolves types "covariantly". * * <p>For example, when resolving {@code List<T>} in the context of {@code ArrayList<?>}, {@code * <T>} is covariantly resolved to {@code <?>} such that return type of {@code List::get} is * {@code <?>}. */ static TypeResolver covariantly(Type contextType) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java
FeatureSpecificTestSuiteBuilder< ?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>> parentBuilder) { // TODO: Once invariant support is added, supply invariants to each of the // derived suites, to check that mutations to the derived collections are // reflected in the underlying map.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 11K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
@Override protected List<TestSuite> createDerivedSuites( FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<M, Entry<K, V>>> parentBuilder) { // TODO: Once invariant support is added, supply invariants to each of the // derived suites, to check that mutations to the derived collections are // reflected in the underlying map.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Java8Compatibility.java
* the License. */ package com.google.common.hash; import com.google.common.annotations.GwtIncompatible; import java.nio.Buffer; /** * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See * https://github.com/google/guava/issues/3990 */ @GwtIncompatible final class Java8Compatibility { static void clear(Buffer b) { b.clear(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
} return newCapacity; } Builder() {} /** * Adds {@code element} to the {@code ImmutableCollection} being built. * * <p>Note that each builder class covariantly returns its own type from this method. * * @param element the element to add * @return this {@code Builder} instance * @throws NullPointerException if {@code element} is null */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
} return newCapacity; } Builder() {} /** * Adds {@code element} to the {@code ImmutableCollection} being built. * * <p>Note that each builder class covariantly returns its own type from this method. * * @param element the element to add * @return this {@code Builder} instance * @throws NullPointerException if {@code element} is null */
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/base/Java8Compatibility.java
package com.google.common.base; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.nio.Buffer; /** * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See * https://github.com/google/guava/issues/3990 */ @J2ktIncompatible @GwtIncompatible final class Java8Compatibility { static void clear(Buffer b) { b.clear(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Java8Compatibility.java
package com.google.common.io; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.nio.Buffer; /** * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See * https://github.com/google/guava/issues/3990 */ @J2ktIncompatible @GwtIncompatible final class Java8Compatibility { static void clear(Buffer b) { b.clear(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
assertFalse(entrySet.contains("foo")); } /** * Override this to check invariants which should hold true for a particular implementation, but * which are not generally applicable to every instance of Map. * * @param map the map whose additional invariants to check. */ protected void assertMoreInvariants(Map<K, V> map) {} public void testClear() { Map<K, V> map;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0)