Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for unmodifiableList (0.18 sec)

  1. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    .values()
                    .stream()
                    .map(MavenProject::getVersion)
                    .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList));
            if (!versions.isEmpty()) {
                return versions;
            }
            return getAllProjects()
                    .getOrDefault(artifact.getGroupId(), Collections.emptyMap())
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

            }
        }
    
        @Nonnull
        @Override
        public List<RemoteRepository> getRemoteRepositories() {
            return Collections.unmodifiableList(repositories);
        }
    
        @Nonnull
        @Override
        public SessionData getData() {
            org.eclipse.aether.SessionData data = session.getData();
            return new SessionData() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

          } else if (collection instanceof Set) {
            return Collections.unmodifiableSet((Set<E>) collection);
          } else if (collection instanceof List) {
            return Collections.unmodifiableList((List<E>) collection);
          } else {
            return Collections.unmodifiableCollection(collection);
          }
        }
    
        @Override
    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)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

    /**
     */
    @Named
    @Singleton
    public class DefaultModelValidator implements ModelValidator {
    
        public static final List<String> VALID_MODEL_VERSIONS =
                Collections.unmodifiableList(Arrays.asList("4.0.0", "4.1.0"));
    
        private static final Pattern EXPRESSION_NAME_PATTERN = Pattern.compile("\\$\\{(.+?)}");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

              array[count] = iterator.next();
            }
            for (int i = count; i < size; i++) {
              array[i] = null; // for GWT
            }
    
            List<@Nullable T> list = Collections.unmodifiableList(Arrays.asList(array));
            // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
            if (pad || count == size) {
              return list;
            } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top