Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for unmodifiableSet (0.17 sec)

  1. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

                collect = scopesToCollect == null
                        ? Collections.emptySet()
                        : Collections.unmodifiableSet(new HashSet<>(scopesToCollect));
                resolve = scopesToResolve == null
                        ? Collections.emptySet()
                        : Collections.unmodifiableSet(new HashSet<>(scopesToResolve));
                this.aggregating = aggregating;
    
                int hash = 17;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.ListIterator;
    import java.util.Set;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 03 18:22:43 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.ListIterator;
    import java.util.Set;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 18:22:43 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/SetWithResolutionResult.java

        final Set<Artifact> artifacts;
    
        public SetWithResolutionResult(DependencyResolutionResult result, Set<Artifact> artifacts) {
            this.result = result;
            this.artifacts = Collections.unmodifiableSet(artifacts);
        }
    
        @Override
        public Iterator<Artifact> iterator() {
            return artifacts.iterator();
        }
    
        @Override
        public int size() {
            return artifacts.size();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 15 06:34:19 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

                Collection<String> packages,
                String key,
                XmlNode configuration) {
            this.realm = realm;
            this.artifacts = Collections.unmodifiableSet(new HashSet<>(artifacts));
            this.packages = Collections.unmodifiableSet(new HashSet<>(packages));
            this.key = key;
            this.configuration = configuration;
        }
    
        /**
         * Returns ClassLoader used to load extension classes.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 07:14:56 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

      private final transient Set<E> delegate;
    
      ForwardingImmutableSet(Set<E> delegate) {
        // TODO(cpovirk): are we over-wrapping?
        this.delegate = Collections.unmodifiableSet(delegate);
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return Iterators.unmodifiableIterator(delegate.iterator());
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

                super(id);
                this.projectScope = Objects.requireNonNull(projectScope);
                this.dependencyScopes =
                        Collections.unmodifiableSet(new HashSet<>(Arrays.asList(Objects.requireNonNull(dependencyScopes))));
            }
    
            @Override
            public ProjectScope projectScope() {
                return projectScope;
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/type/DefaultType.java

            this.extension = requireNonNull(extension, "extension");
            this.classifier = classifier;
            this.includesDependencies = includesDependencies;
            this.pathTypes = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(pathTypes)));
    
            Map<String, String> properties = new HashMap<>();
            properties.put(ArtifactProperties.TYPE, id);
            properties.put(ArtifactProperties.LANGUAGE, language.id());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top