Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for unmodifiableMap (0.1 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                new TestStringMapGenerator() {
                  @Override
                  protected Map<String, String> create(Entry<String, String>[] entries) {
                    return unmodifiableMap(toHashMap(entries));
                  }
                })
            .named("unmodifiableMap/HashMap")
            .withFeatures(
                MapFeature.ALLOWS_NULL_KEYS,
                MapFeature.ALLOWS_NULL_VALUES,
                MapFeature.ALLOWS_ANY_NULL_QUERIES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

        @Nonnull
        @Override
        public Map<String, String> getUserProperties() {
            return Collections.unmodifiableMap(new PropertiesAsMap(getMavenSession().getUserProperties()));
        }
    
        @Nonnull
        @Override
        public Map<String, String> getSystemProperties() {
            return Collections.unmodifiableMap(new PropertiesAsMap(getMavenSession().getSystemProperties()));
        }
    
        @Nonnull
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                new TestStringMapGenerator() {
                  @Override
                  protected Map<String, String> create(Entry<String, String>[] entries) {
                    return unmodifiableMap(toHashMap(entries));
                  }
                })
            .named("unmodifiableMap/HashMap")
            .withFeatures(
                MapFeature.ALLOWS_NULL_KEYS,
                MapFeature.ALLOWS_NULL_VALUES,
                MapFeature.ALLOWS_ANY_NULL_QUERIES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Tables.java

          return Collections.unmodifiableMap(super.column(columnKey));
        }
    
        @Override
        public Set<C> columnKeySet() {
          return Collections.unmodifiableSet(super.columnKeySet());
        }
    
        @Override
        public Map<C, Map<R, V>> columnMap() {
          Function<Map<R, V>, Map<R, V>> wrapper = unmodifiableWrapper();
          return Collections.unmodifiableMap(Maps.transformValues(super.columnMap(), wrapper));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExports.java

            this.artifacts = Collections.unmodifiableSet(new HashSet<>(exportedArtifacts));
            this.packages = exportedPackages.stream()
                    .collect(collectingAndThen(toMap(identity(), v -> realm), Collections::unmodifiableMap));
        }
    
        /**
         * Returns artifacts exported by Maven core and core extensions. Artifacts are identified by their
         * groupId:artifactId string key.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

         */
        TEST_RUNTIME("test-runtime", false),
    
        /**
         * System scope.
         */
        SYSTEM("system", false);
    
        private static final Map<String, DependencyScope> IDS = Collections.unmodifiableMap(
                Stream.of(DependencyScope.values()).collect(Collectors.toMap(s -> s.id, s -> s)));
    
        public static DependencyScope forId(String id) {
            return IDS.get(id);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top