Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for unmodifiableCollection (0.24 sec)

  1. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans.impl;
    
    import static java.util.Collections.unmodifiableCollection;
    import static org.codelibs.core.collection.CollectionsUtil.newArrayList;
    import static org.codelibs.core.collection.CollectionsUtil.newHashMap;
    import static org.codelibs.core.collection.CollectionsUtil.newHashSet;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            return Collections.unmodifiableCollection(attached);
        }
    
        @Override
        public Collection<Artifact> getAllArtifacts(Project project) {
            ArrayList<Artifact> result = new ArrayList<>(2);
            result.addAll(project.getArtifacts());
            result.addAll(getAttachedArtifacts(project));
            return Collections.unmodifiableCollection(result);
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

         * "expected in provided scope" type of checks.
         */
        static final Collection<String> EXPECTED_PROVIDED_SCOPE_EXCLUSIONS_GA =
                Collections.unmodifiableCollection(Arrays.asList(
                        "org.apache.maven:maven-archiver", "org.apache.maven:maven-jxr", "org.apache.maven:plexus-utils"));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                            Artifact.SCOPE_PROVIDED,
                            Artifact.SCOPE_RUNTIME,
                            Artifact.SCOPE_TEST);
                }
            }
            return Collections.unmodifiableCollection(scopes);
        }
    
        public void execute(final MavenSession session, final List<MojoExecution> mojoExecutions)
                throws LifecycleExecutionException {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public Collection<ArtifactMetadata> getMetadataList() {
            if (metadataMap == null) {
                return Collections.emptyList();
            }
    
            return Collections.unmodifiableCollection(metadataMap.values());
        }
    
        // ----------------------------------------------------------------------
        // Object overrides
        // ----------------------------------------------------------------------
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Feb 09 19:20:54 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

            listeners.remove(nonNull(listener));
        }
    
        @Nonnull
        @Override
        public Collection<Listener> getListeners() {
            return Collections.unmodifiableCollection(listeners);
        }
    
        //
        // Shortcut implementations
        //
    
        /**
         * Shortcut for <code>getService(RepositoryFactory.class).createLocal(...)</code>
         *
    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)
  7. android/guava/src/com/google/common/collect/Multimaps.java

          } else if (collection instanceof List) {
            return Collections.unmodifiableList((List<E>) collection);
          } else {
            return Collections.unmodifiableCollection(collection);
          }
        }
    
        @Override
        Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
          if (collection instanceof List) {
    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)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

            listeners.remove(nonNull(listener));
        }
    
        @Nonnull
        @Override
        public Collection<Listener> getListeners() {
            return Collections.unmodifiableCollection(listeners);
        }
    
        //
        // Shortcut implementations
        //
    
        /**
         * Shortcut for <code>getService(RepositoryFactory.class).createLocal(...)</code>
         *
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <ul>
     *   <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this
     *       collection. This is a stronger guarantee than that of {@link
     *       Collections#unmodifiableCollection}, whose contents change whenever the wrapped collection
     *       is modified.
     *   <li><b>Null-hostility.</b> This collection will never contain a null element.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <ul>
     *   <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this
     *       collection. This is a stronger guarantee than that of {@link
     *       Collections#unmodifiableCollection}, whose contents change whenever the wrapped collection
     *       is modified.
     *   <li><b>Null-hostility.</b> This collection will never contain a null element.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
Back to top