Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 78 for null (0.13 sec)

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

       */
      public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of(E e1, E e2) {
        return copyOf(Ordering.natural(), Arrays.asList(e1, e2));
      }
    
      /**
       * Returns an immutable sorted multiset containing the given elements sorted by their natural
       * ordering.
       *
       * @throws NullPointerException if any element is null
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultBuilderProblem.java

        public String toString() {
            StringBuilder buffer = new StringBuilder(128);
            buffer.append('[').append(severity).append("]");
            String msg = message != null ? message : exception != null ? exception.getMessage() : null;
            if (msg != null && !msg.isEmpty()) {
                buffer.append(" ").append(msg);
            }
            String location = getLocation();
            if (!location.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

       * removal operations, and these are reflected in the underlying map.
       *
       * <p>It's acceptable for the underlying map to contain null keys, and even null values provided
       * that the function is capable of accepting null input. The transformed map might contain null
       * values, if the function sometimes gives a null result.
       *
       * <p>The returned map is not thread-safe or serializable, even if the underlying map is.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

                    this.profiles = profiles != null ? List.copyOf(profiles) : List.of();
                    this.activeProfileIds = activeProfileIds != null ? List.copyOf(activeProfileIds) : List.of();
                    this.inactiveProfileIds = inactiveProfileIds != null ? List.copyOf(inactiveProfileIds) : List.of();
                    this.systemProperties =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /** @since 12.0 */
      @Override
      @CheckForNull
      public E floor(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, true).descendingIterator(), null);
      }
    
      /** @since 12.0 */
      @Override
      @CheckForNull
      public E ceiling(E e) {
        return Iterables.<@Nullable E>getFirst(tailSet(e, true), null);
      }
    
      /** @since 12.0 */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMap.java

        /*
         * Even though it's weird to pass a defaultValue that is null, some callers do so. Those who
         * pass a literal "null" should probably just use `get`, but I would expect other callers to
         * pass an expression that *might* be null. This could happen with:
         *
         * - a `getFooOrDefault(@CheckForNull Foo defaultValue)` method that returns
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java

                    Path path = artifactManager.getPath(artifact).orElse(null);
                    if (path != null) {
                        paths.put(artifact, path);
                    } else {
                        requests.add(new ArtifactRequest(aetherArtifact, repositories, null));
                    }
                }
                if (!requests.isEmpty()) {
                    List<ArtifactResult> results =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>It's acceptable for the underlying multimap to contain null keys, and even null values
       * provided that the function is capable of accepting null input. The transformed multimap might
       * contain null values, if the function sometimes gives a null result.
       *
       * <p>The returned multimap is not thread-safe or serializable, even if the underlying multimap
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                    mavenSession,
                    null,
                    null,
                    null,
                    new SimpleLookup(List.of(new DefaultRepositoryFactory(new DefaultRemoteRepositoryManager(
                            new DefaultUpdatePolicyAnalyzer(), new DefaultChecksumPolicyProvider())))),
                    null);
            InternalSession.associate(session, iSession);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableTable.java

       * generated by applying the specified functions.
       *
       * <p>The returned {@code Collector} will throw a {@code NullPointerException} at collection time
       * if the row, column, or value functions return null on any input.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
Back to top