Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RegularImmutableMap (0.54 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMap.java

    /**
     * GWt emulation of {@link RegularImmutableMap}.
     *
     * @author Hayward Chan
     */
    final class RegularImmutableMap<K, V> extends ForwardingImmutableMap<K, V> {
    
      static final ImmutableMap<Object, Object> EMPTY = new RegularImmutableMap<Object, Object>();
    
      RegularImmutableMap(Map<? extends K, ? extends V> delegate) {
        super(delegate);
      }
    
      RegularImmutableMap(Entry<? extends K, ? extends V>... entries) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

      }
    
      @SuppressWarnings("unchecked")
      @Override
      public @Nullable V get(@Nullable Object key) {
        Object result =
            RegularImmutableMap.get(keyHashTable, alternatingKeysAndValues, size, keyOffset, key);
        /*
         * We can't simply cast the result of `RegularImmutableMap.get` to V because of a bug in our
         * nullness checker (resulting from https://github.com/jspecify/checker-framework/issues/8).
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java

      private final ImmutableBiMap<V, K> inverse;
    
      @SuppressWarnings("unchecked") // used only for the empty map, which works for any types
      RegularImmutableBiMap() {
        super(new RegularImmutableMap<K, V>(new HashMap<K, V>()));
        this.inverse = (ImmutableBiMap<V, K>) this;
      }
    
      RegularImmutableBiMap(ImmutableMap<K, V> delegate) {
        super(delegate);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMapEntry.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@code Entry} for {@link ImmutableMap} that adds extra methods to traverse hash
     * buckets for the key and the value. This allows reuse in {@link RegularImmutableMap} and {@link
     * RegularImmutableBiMap}, which don't have to recopy the entries created by their {@code Builder}
     * implementations.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 21:42:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top