Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for notNull (0.03 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

            new ListFuture<V>(ImmutableList.copyOf(futures), true);
        // allAsList ensures that it fills the output list with V instances.
        @SuppressWarnings("nullness")
        ListenableFuture<List<V>> nonNull = nullable;
        return nonNull;
      }
    
      /**
       * Creates a new {@code ListenableFuture} whose value is a list containing the values of all its
       * input futures, if all succeed.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.NoSuchElementException;
    import java.util.Objects;
    import java.util.PriorityQueue;
    import java.util.Queue;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This class contains static utility methods that operate on or return objects of type {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

         */
        public ImmutableSet<@NonNull E> immutableCopy() {
          // Not using ImmutableSet.copyOf() to avoid iterating thrice (isEmpty, size, iterator).
          int maxSize = maxSize();
          if (maxSize == 0) {
            return ImmutableSet.of();
          }
          ImmutableSet.Builder<@NonNull E> builder = ImmutableSet.builderWithExpectedSize(maxSize);
          for (E element : this) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
Back to top