Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for covariantly (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  2. 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();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/RemovalListener.java

       * already been re-added.
       */
      // Technically should accept RemovalNotification<? extends K, ? extends V>, but because
      // RemovalNotification is guaranteed covariant, let's make users' lives simpler.
      void onRemoval(RemovalNotification<K, V> notification);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

      @Override
      ImmutableCollection<E> delegateCollection() {
        return delegate;
      }
    
      ImmutableList<? extends E> delegateList() {
        return delegateList;
      }
    
      @SuppressWarnings("unchecked") // safe covariant cast!
      @Override
      public UnmodifiableListIterator<E> listIterator(int index) {
        return (UnmodifiableListIterator<E>) delegateList.listIterator(index);
      }
    
      @GwtIncompatible // not present in emulated superclass
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Absent.java

      }
    
      @Override
      public T or(T defaultValue) {
        return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
      }
    
      @SuppressWarnings("unchecked") // safe covariant cast
      @Override
      public Optional<T> or(Optional<? extends T> secondChoice) {
        return (Optional<T>) checkNotNull(secondChoice);
      }
    
      @Override
      public T or(Supplier<? extends T> supplier) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Apr 15 22:14:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/RegularImmutableAsList.java

      @Override
      ImmutableCollection<E> delegateCollection() {
        return delegate;
      }
    
      ImmutableList<? extends E> delegateList() {
        return delegateList;
      }
    
      @SuppressWarnings("unchecked") // safe covariant cast!
      @Override
      public UnmodifiableListIterator<E> listIterator(int index) {
        return (UnmodifiableListIterator<E>) delegateList.listIterator(index);
      }
    
      @GwtIncompatible // not present in emulated superclass
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top