Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for unmodifiableMap (0.12 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. 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)
  3. 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)
  4. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                Map.Entry entry = (Map.Entry) entries.next();
                entry.setValue(Collections.unmodifiableList((List)
                        entry.getValue()));
            }
            return (headerFields = Collections.unmodifiableMap(map));
        }
    
        public Map getHeaderFields() {
            if (headerFields != null) return headerFields;
            try {
                handshake();
            } catch (IOException ex) { }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

        for (i in STATIC_HEADER_TABLE.indices) {
          if (!result.containsKey(STATIC_HEADER_TABLE[i].name)) {
            result[STATIC_HEADER_TABLE[i].name] = i
          }
        }
        return Collections.unmodifiableMap(result)
      }
    
      class Writer
        @JvmOverloads
        constructor(
          @JvmField var headerTableSizeSetting: Int = SETTINGS_HEADER_TABLE_SIZE,
          private val useCompression: Boolean = true,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Splitter.java

            String value = entryFields.next();
            map.put(key, value);
    
            checkArgument(!entryFields.hasNext(), INVALID_ENTRY_MESSAGE, entry);
          }
          return Collections.unmodifiableMap(map);
        }
      }
    
      private interface Strategy {
        Iterator<String> iterator(Splitter splitter, CharSequence toSplit);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top