Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for unmodifiableCollection (0.12 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;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/collect/ForwardingObject.java

     * object being tested, but the reverse could not be true. This behavior is consistent with the
     * JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use an
     * interface-specific subclass of {@code ForwardingObject}, such as {@link ForwardingList}, to
     * preserve equality behavior, or override {@code equals} directly.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

                    map(getMavenProject(project).getAttachedArtifacts(), a -> getSession(project)
                            .getArtifact(ProducedArtifact.class, RepositoryUtils.toArtifact(a)));
            return Collections.unmodifiableCollection(attached);
        }
    
        @Override
        @Nonnull
        public Collection<ProducedArtifact> getAllArtifacts(@Nonnull Project project) {
            requireNonNull(project, "project cannot be null");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. impl/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"));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:32 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. compat/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
        // ----------------------------------------------------------------------
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. impl/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 {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 14:55:55 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. 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.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. 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) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Tables.java

          return unmodifiableMap(Maps.transformValues(super.rowMap(), Collections::unmodifiableMap));
        }
    
        @Override
        public Collection<V> values() {
          return Collections.unmodifiableCollection(super.values());
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        return unmodifiableCollectionSubclass(output);
      }
    
      <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
        return Collections.unmodifiableCollection(collection);
      }
    
      @Override
      public void clear() {
        // Clear each collection, to make previously returned collections empty.
        for (Collection<V> collection : map.values()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
Back to top