Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for unmodifiableMap (0.12 sec)

  1. okhttp/src/main/kotlin/okhttp3/Challenge.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.nio.charset.Charset
    import java.util.Collections.singletonMap
    import java.util.Collections.unmodifiableMap
    import java.util.Locale.US
    import kotlin.text.Charsets.ISO_8859_1
    import okhttp3.internal.commonEquals
    import okhttp3.internal.commonHashCode
    import okhttp3.internal.commonToString
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

    public abstract class ForwardingImmutableMap<K, V> extends ImmutableMap<K, V> {
    
      final transient Map<K, V> delegate;
    
      ForwardingImmutableMap(Map<? extends K, ? extends V> delegate) {
        this.delegate = Collections.unmodifiableMap(delegate);
      }
    
      @SuppressWarnings("unchecked")
      ForwardingImmutableMap(boolean throwIfDuplicateKeys, Entry<? extends K, ? extends V>... entries) {
        Map<K, V> delegate = Maps.newLinkedHashMap();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top