Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SingletonImmutableBiMap (0.56 sec)

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

     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
    
      final transient K singleKey;
      final transient V singleValue;
    
      SingletonImmutableBiMap(K singleKey, V singleValue) {
        checkEntryNotNull(singleKey, singleValue);
        this.singleKey = singleKey;
        this.singleValue = singleValue;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableBiMap.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulation of {@link SingletonImmutableBiMap}.
     *
     * @author Hayward Chan
     */
    final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
      private final K singleKey;
      private final V singleValue;
    
      @Nullable transient SingletonImmutableBiMap<V, K> inverse;
    
      SingletonImmutableBiMap(K key, V value) {
        super(singletonMap(checkNotNull(key), checkNotNull(value)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 22:23:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. cycle_suppress_list.txt

    FIELD com.google.common.collect.JdkBackedImmutableBiMap.inverse
    FIELD com.google.common.collect.Maps.FilteredMapValues.unfiltered
    FIELD com.google.common.collect.Sets.SubSet.inputSet
    FIELD com.google.common.collect.SingletonImmutableBiMap.inverse
    FIELD com.google.common.collect.TreeTraverser.PostOrderNode.childIterator
    FIELD com.google.common.collect.TreeTraverser.PreOrderIterator.stack
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 24 01:59:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) {
        checkEntryNotNull(k1, v1);
        return new SingletonImmutableBiMap<K, V>(k1, v1);
      }
    
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) {
        return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top