Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. guava/src/com/google/common/collect/Synchronized.java

        }
    
        @SuppressWarnings("nullness") // TODO: b/423853632 - Remove after checker is fixed.
        @Override
        public @Nullable V merge(
            K key,
            @NonNull V value,
            BiFunction<? super @NonNull V, ? super @NonNull V, ? extends @Nullable V>
                remappingFunction) {
          synchronized (mutex) {
            return delegate().merge(key, value, remappingFunction);
          }
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  3. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 12:42:11 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
Back to top