Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 871 for nullTests (0.18 sec)

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

       * value may be legitimately {@code null}.)
       */
      @ParametricNullness
      @SuppressWarnings("nullness")
      static <T extends @Nullable Object> T uncheckedCastNullableTToT(@CheckForNull T t) {
        return t;
      }
    
      /** Returns {@code null} as any type, even one that does not include {@code null}. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/NullnessCasts.java

     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class NullnessCasts {
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 12 20:58:36 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  3. 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
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sat Jan 21 14:48:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

    import com.google.errorprone.annotations.DoNotCall;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A mutable type-to-instance map. See also {@link ImmutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     * @since 13.0
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sat Apr 22 01:15:23 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractBiMap.java

        extends ForwardingMap<K, V> implements BiMap<K, V>, Serializable {
    
      @SuppressWarnings("nullness:initialization.field.uninitialized") // For J2KT (lateinit)
      private transient Map<K, V> delegate;
    
      @SuppressWarnings("nullness:initialization.field.uninitialized") // For J2KT (lateinit)
      @RetainedWith
      transient AbstractBiMap<V, K> inverse;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class NullnessCasts {
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TopKSelector.java

       * this {@code TopKSelector}. This method returns in O(k log k) time.
       */
      @SuppressWarnings("nullness") // TODO: b/316358623 - Remove after checker fix.
      public List<T> topK() {
        @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts
        T[] castBuffer = (T[]) buffer;
        Arrays.sort(castBuffer, 0, bufferSize, comparator);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/NullnessCasts.java

     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class NullnessCasts {
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * CompactLinkedHashSet is an implementation of a Set, which a predictable iteration order that
     * matches the insertion order. All optional operations (adding and removing) are supported. All
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Platform.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Arrays;
    import java.util.Map;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
Back to top