Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for makeImmutable (0.09 sec)

  1. guava/src/com/google/common/collect/RegularImmutableMap.java

      }
    
      /** Makes an entry usable internally by a new ImmutableMap. */
      static <K, V> ImmutableMapEntry<K, V> makeImmutable(Entry<K, V> entry) {
        return makeImmutable(entry, entry.getKey(), entry.getValue());
      }
    
      private RegularImmutableMap(
          Entry<K, V>[] entries, @CheckForNull @Nullable ImmutableMapEntry<K, V>[] table, int mask) {
        this.entries = entries;
        this.table = table;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.RegularImmutableMap.makeImmutable;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RegularImmutableBiMap.java

            return JdkBackedImmutableBiMap.create(n, entryArray);
          }
          ImmutableMapEntry<K, V> newEntry =
              (nextInValueBucket == null && nextInKeyBucket == null)
                  ? RegularImmutableMap.makeImmutable(entry, key, value)
                  : new NonTerminalImmutableBiMapEntry<>(
                      key, value, nextInKeyBucket, nextInValueBucket);
          keyTable[keyBucket] = newEntry;
          valueTable[valueBucket] = newEntry;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top