Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NonNull (0.04 sec)

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

          @SuppressWarnings({"nullness", "unchecked"}) // see supertype
          public ImmutableSet<@NonNull E> immutableCopy() {
            ImmutableSet.Builder<@NonNull E> builder =
                new ImmutableSet.Builder<@NonNull E>()
                    .addAll((Iterable<@NonNull E>) set1)
                    .addAll((Iterable<@NonNull E>) set2);
            return (ImmutableSet<@NonNull E>) builder.build();
          }
        };
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Synchronized.java

            return delegate().compute(key, remappingFunction);
          }
        }
    
        @Override
        @CheckForNull
        public 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

    import java.util.List;
    import java.util.NoSuchElementException;
    import java.util.PriorityQueue;
    import java.util.Queue;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * This class contains static utility methods that operate on or return objects of type {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                DefaultModelProblemCollector problems) {
            if (profiles.stream()
                    .map(org.apache.maven.api.model.Profile::getActivation)
                    .noneMatch(Objects::nonNull)) {
                return profiles;
            }
            final Interpolator xform = new RegexBasedInterpolator();
            xform.setCacheAnswers(true);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top