Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for unmodifiableMap (0.14 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultType.java

            properties.put(
                    MavenArtifactProperties.CONSTITUTES_BUILD_PATH,
                    String.valueOf(this.pathTypes.contains(JavaPathType.CLASSES)));
            this.properties = Collections.unmodifiableMap(properties);
        }
    
        @Override
        public String id() {
            return id;
        }
    
        @Override
        public String getId() {
            return id();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

            return list != null ? Collections.unmodifiableList(list) : Collections.emptyList();
        }
    
        private static Map<String, String> unmodifiable(Map<String, String> map) {
            return map != null ? Collections.unmodifiableMap(map) : Collections.emptyMap();
        }
    
        private static Map<String, String> toMap(Properties properties) {
            if (properties != null && !properties.isEmpty()) {
                return properties.entrySet().stream()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                            delegate.getMojoDescriptor().getPluginDescriptor().getDependencyNode();
                    DefaultNode node = new DefaultNode(session, resolverNode, false);
                    return Collections.unmodifiableMap(node.stream()
                            .filter(Objects::nonNull)
                            .map(Node::getDependency)
                            .filter(Objects::nonNull)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

            Map<K, V> onlyOnRight,
            Map<K, V> onBoth,
            Map<K, ValueDifference<V>> differences) {
          this.onlyOnLeft = unmodifiableMap(onlyOnLeft);
          this.onlyOnRight = unmodifiableMap(onlyOnRight);
          this.onBoth = unmodifiableMap(onBoth);
          this.differences = unmodifiableMap(differences);
        }
    
        @Override
        public boolean areEqual() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Maps.java

            Map<K, V> onlyOnRight,
            Map<K, V> onBoth,
            Map<K, ValueDifference<V>> differences) {
          this.onlyOnLeft = unmodifiableMap(onlyOnLeft);
          this.onlyOnRight = unmodifiableMap(onlyOnRight);
          this.onBoth = unmodifiableMap(onBoth);
          this.differences = unmodifiableMap(differences);
        }
    
        @Override
        public boolean areEqual() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

    import static java.lang.Double.NEGATIVE_INFINITY;
    import static java.lang.Double.NaN;
    import static java.lang.Double.POSITIVE_INFINITY;
    import static java.util.Arrays.sort;
    import static java.util.Collections.unmodifiableMap;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.primitives.Doubles;
    import com.google.common.primitives.Ints;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            } else {
                properties.setProperty(key, value);
            }
        }
    
        @Override
        public Map<String, String> getProperties(Project project) {
            return Collections.unmodifiableMap(
                    new PropertiesAsMap(((DefaultProject) project).getProject().getProperties()));
        }
    
        @Override
        public Optional<Project> getExecutionProject(Project project) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            }
            for ( Entry<String, List<String>> entry : map.entrySet() ) {
                entry.setValue(Collections.unmodifiableList(entry.getValue()));
            }
            return ( this.headerFields = Collections.unmodifiableMap(map) );
        }
    
    
        @Override
        public Map<String, List<String>> getHeaderFields () {
            if ( this.headerFields != null )
                return this.headerFields;
            handshake();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      public Map<K, Long> asMap() {
        Map<K, Long> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
      private Map<K, Long> createAsMap() {
        return Collections.unmodifiableMap(map);
      }
    
      /** Returns true if this map contains a mapping for the specified key. */
      public boolean containsKey(Object key) {
        return map.containsKey(key);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      public Map<K, Long> asMap() {
        Map<K, Long> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
      private Map<K, Long> createAsMap() {
        return Collections.unmodifiableMap(
            Maps.transformValues(
                map,
                new Function<AtomicLong, Long>() {
                  @Override
                  public Long apply(AtomicLong atomic) {
                    return atomic.get();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top