Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 939 for checker (0.2 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

        /*
         * We can't simply cast the result of `RegularImmutableMap.get` to V because of a bug in our
         * nullness checker (resulting from https://github.com/jspecify/checker-framework/issues/8).
         */
        if (result == null) {
          return null;
        } else {
          return (V) result;
        }
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractBiMap.java

          AbstractBiMap.this.clear();
        }
    
        @Override
        public boolean remove(@CheckForNull Object object) {
          /*
           * `o instanceof Entry` is guaranteed by `contains`, but we check it here to satisfy our
           * nullness checker.
           */
          if (!esDelegate.contains(object) || !(object instanceof Entry)) {
            return false;
          }
    
          Entry<?, ?> entry = (Entry<?, ?>) object;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A simplistic set which implements the bare minimum so that it can be used in tests without
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A simplistic set which implements the bare minimum so that it can be used in tests without
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.Set;
    import java.util.SortedSet;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A skeleton implementation of a descending multiset. Only needs {@code forwardMultiset()} and
     * {@code entryIterator()}.
     *
     * @author Louis Wasserman
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 24 16:03:45 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ClassToInstanceMap.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A map, each entry of which maps a Java <a href="http://tinyurl.com/2cmwkz">raw type</a> to an
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/DescendingMultiset.java

    import com.google.j2objc.annotations.WeakOuter;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.NavigableSet;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A skeleton implementation of a descending multiset. Only needs {@code forwardMultiset()} and
     * {@code entryIterator()}.
     *
     * @author Louis Wasserman
     */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/DescendingMultiset.java

    import com.google.j2objc.annotations.WeakOuter;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.NavigableSet;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A skeleton implementation of a descending multiset. Only needs {@code forwardMultiset()} and
     * {@code entryIterator()}.
     *
     * @author Louis Wasserman
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A map, each entry of which maps a {@link TypeToken} to an instance of that type. In addition to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 22 01:15:23 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ConsumingQueueIterator.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Queue;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An Iterator implementation which draws elements from a queue, removing them from the queue as it
     * iterates. This class is not thread safe.
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jan 21 14:48:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
Back to top