Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for covariantly (0.24 sec)

  1. android/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
    @ElementTypesAreNonnullByDefault
    final class Java8Compatibility {
      static void clear(Buffer b) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. .idea/dictionaries/abreslav.xml

    <component name="ProjectDictionaryState">
      <dictionary name="abreslav">
        <words>
          <w>accessor</w>
          <w>covariantly</w>
          <w>deserialized</w>
          <w>dominator</w>
          <w>inferrer</w>
          <w>iterable</w>
          <w>nondeterministic</w>
          <w>nullable</w>
          <w>overridable</w>
          <w>pseudocode</w>
          <w>substitutor</w>
          <w>subtyping</w>
          <w>supertype</w>
          <w>supertypes</w>
    XML
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Jul 09 13:32:24 GMT 2015
    - 500 bytes
    - Viewed (0)
  3. 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
    @ElementTypesAreNonnullByDefault
    final class Java8Compatibility {
      static void clear(Buffer b) {
        b.clear();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  4. 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
         */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  5. 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
    @ElementTypesAreNonnullByDefault
    final class Java8Compatibility {
      static void clear(Buffer b) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. 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
    @ElementTypesAreNonnullByDefault
    final class Java8Compatibility {
      static void clear(Buffer b) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  7. 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
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  8. 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) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        @SuppressWarnings("rawtypes") // trying to test raw type
        Parameterized<?, ?, ?> parameterized =
            new Parameterized<TypeTokenResolutionTest, Bar, String>() {};
        TypeResolver typeResolver = TypeResolver.covariantly(parameterized.getClass());
        ParameterizedType resolved =
            (ParameterizedType) typeResolver.resolveType(parameterized.parameterizedType());
        assertEquals(TypeTokenResolutionTest.class, resolved.getOwnerType());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeToken.java

        if (resolver == null) {
          resolver = (covariantTypeResolver = TypeResolver.covariantly(runtimeType));
        }
        return resolver;
      }
    
      private TypeResolver getInvariantTypeResolver() {
        TypeResolver resolver = invariantTypeResolver;
        if (resolver == null) {
          resolver = (invariantTypeResolver = TypeResolver.invariantly(runtimeType));
        }
        return resolver;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
Back to top