Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 210 for nullTests (0.2 sec)

  1. 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)
  2. guava/src/com/google/common/collect/FluentIterable.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.SortedSet;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A discouraged (but not deprecated) precursor to Java's superior {@link Stream} library.
     *
     * <p>The following types of methods are provided:
     *
     * <ul>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K 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/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)
  6. guava/src/com/google/common/collect/CompactLinkedHashMap.java

    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Set;
    import java.util.Spliterator;
    import java.util.Spliterators;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * CompactLinkedHashMap is an implementation of a Map with insertion or LRU iteration order,
     * maintained with a doubly linked list through the entries. All optional operations (put and
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CollectCollectors.java

    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Collectors utilities for {@code common.collect} internals. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class CollectCollectors {
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CollectCollectors.java

    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Collectors utilities for {@code common.collect} internals. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Joiner.java

    import java.util.Arrays;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An object which joins pieces of text (specified as an array, {@link Iterable}, varargs or even a
     * {@link Map}) with a separator. It either appends the results to an {@link Appendable} or returns
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Joiner.java

    import java.util.Arrays;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An object which joins pieces of text (specified as an array, {@link Iterable}, varargs or even a
     * {@link Map}) with a separator. It either appends the results to an {@link Appendable} or returns
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
Back to top