Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 744 for nullTests (0.25 sec)

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

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** An ordering that treats {@code null} as greater than all other values. */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 27 16:03:47 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  2. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jan 21 14:48:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

      }
    
      public void testCallableStartsAfterFirstFutureCompletes() {
        @SuppressWarnings({"unused", "nullness"})
        Future<?> possiblyIgnoredError = serializer.submitAsync(firstCallable, directExecutor());
        TestCallable secondCallable = new TestCallable(Futures.<Void>immediateFuture(null));
        @SuppressWarnings({"unused", "nullness"})
        Future<?> possiblyIgnoredError1 = serializer.submitAsync(secondCallable, directExecutor());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

      }
    
      public void testCallableStartsAfterFirstFutureCompletes() {
        @SuppressWarnings({"unused", "nullness"})
        Future<?> possiblyIgnoredError = serializer.submitAsync(firstCallable, directExecutor());
        TestCallable secondCallable = new TestCallable(Futures.<Void>immediateFuture(null));
        @SuppressWarnings({"unused", "nullness"})
        Future<?> possiblyIgnoredError1 = serializer.submitAsync(secondCallable, directExecutor());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Comparator;
    import java.util.NoSuchElementException;
    import java.util.SortedMap;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A sorted map which forwards all its method calls to another sorted map. Subclasses should
     * override one or more methods to modify the behavior of the backing sorted map as desired per the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FluentIterable.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.SortedSet;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An expanded {@code Iterable} API, providing functionality similar to Java 8's powerful <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  7. 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)
  8. 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 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 22 01:15:23 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. 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 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        return true;
      }
    
      private static final NullnessAnnotationReader NULLNESS_ANNOTATION_READER =
          annotatedTypeExists()
              ? NullnessAnnotationReader.FROM_DECLARATION_AND_TYPE_USE_ANNOTATIONS
              : NullnessAnnotationReader.FROM_DECLARATION_ANNOTATIONS_ONLY;
    
      /**
       * Looks for declaration nullness annotations and, if supported, type-use nullness annotations.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
Back to top