Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 274 for Nonnull (0.04 sec)

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

       * (And even if annotations on local variables were permitted as an optional hint, no annotation
       * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
       * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as
       * {@code requireNonNull}: Our use case is the one in which {@code T} has parametric nullness—and
       * thus its value may be legitimately {@code null}.)
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

            requireNonNull(readers, "readers");
            // skip possible null entries
            this.readers = Collections.unmodifiableList(
                    new ArrayList<>(readers.stream().filter(Objects::nonNull).collect(Collectors.toList())));
            Key key = new Key(this.readers);
            this.repository = new WorkspaceRepository(key.getContentType(), key);
        }
    
        public List<WorkspaceReader> getReaders() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Streams.java

        // TODO(lowasser): consider an implementation that can support SUBSIZED
        boolean isParallel = false;
        int characteristics = Spliterator.ORDERED | Spliterator.SIZED | Spliterator.NONNULL;
        long estimatedSize = 0L;
        ImmutableList.Builder<Spliterator<? extends T>> splitrsBuilder =
            new ImmutableList.Builder<>(streams.length);
        for (Stream<? extends T> stream : streams) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 36.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Streams.java

        // TODO(lowasser): consider an implementation that can support SUBSIZED
        boolean isParallel = false;
        int characteristics = Spliterator.ORDERED | Spliterator.SIZED | Spliterator.NONNULL;
        long estimatedSize = 0L;
        ImmutableList.Builder<Spliterator<? extends T>> splitrsBuilder =
            new ImmutableList.Builder<>(streams.length);
        for (Stream<? extends T> stream : streams) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  5. 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)
  6. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

                MavenExecutionRequest request, ProjectBuildingException exception) {
            return exception.getResults().stream()
                    .map(ProjectBuildingResult::getProject)
                    .filter(Objects::nonNull)
                    .filter(project -> request.getPom().equals(project.getFile()))
                    .findFirst()
                    .map(requestPomProject -> {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractTable.java

        return new CellSet();
      }
    
      abstract Iterator<Table.Cell<R, C, V>> cellIterator();
    
      Spliterator<Table.Cell<R, C, V>> cellSpliterator() {
        return Spliterators.spliterator(cellSet(), Spliterator.NONNULL | Spliterator.DISTINCT);
      }
    
      @WeakOuter
      private final class CellSet extends AbstractSet<Cell<R, C, V>> {
        @Override
        public boolean contains(@Nullable Object o) {
          if (o instanceof Cell) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Maps.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public @Nullable V merge(
            K key,
            @NonNull V value,
            BiFunction<? super @NonNull V, ? super @NonNull V, ? extends @Nullable V> function) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public BiMap<V, K> inverse() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/EnumMultiset.java

          int index = e.ordinal();
          return index < enumConstants.length && enumConstants[index] == e;
        }
        return false;
      }
    
      /**
       * Returns {@code element} cast to {@code E}, if it actually is a nonnull E. Otherwise, throws
       * either a NullPointerException or a ClassCastException as appropriate.
       */
      private void checkIsE(Object element) {
        checkNotNull(element);
        if (!isActuallyE(element)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            List<Dependency> deps = new ArrayList<>(result.getDependencies().keySet());
            List<Dependency> deps2 = result.getNodes().stream()
                    .map(Node::getDependency)
                    .filter(Objects::nonNull)
                    .collect(Collectors.toList());
            assertEquals(deps, deps2);
            for (Dependency dep : deps2) {
                dep.getVersion();
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top