Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for UnmodifiableBiMap (0.12 sec)

  1. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                          bimap.put(entry.getKey(), entry.getValue());
                        }
                        return Maps.unmodifiableBiMap(bimap);
                      }
                    })
                .named("unmodifiableBiMap[HashBiMap]")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_NULL_KEYS,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                          bimap.put(entry.getKey(), entry.getValue());
                        }
                        return Maps.unmodifiableBiMap(bimap);
                      }
                    })
                .named("unmodifiableBiMap[HashBiMap]")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_NULL_KEYS,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          BiMap<K, V> unmodifiableBiMap(BiMap<? extends K, ? extends V> bimap) {
        return new UnmodifiableBiMap<>(bimap, null);
      }
    
      /**
       * @see Maps#unmodifiableBiMap(BiMap)
       */
      private static final class UnmodifiableBiMap<
              K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          BiMap<K, V> unmodifiableBiMap(BiMap<? extends K, ? extends V> bimap) {
        return new UnmodifiableBiMap<>(bimap, null);
      }
    
      /**
       * @see Maps#unmodifiableBiMap(BiMap)
       */
      private static final class UnmodifiableBiMap<
              K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        BiMap<Integer, String> mod = HashBiMap.create();
        mod.put(1, "one");
        mod.put(2, "two");
        mod.put(3, "three");
    
        BiMap<Number, String> unmod = Maps.<Number, String>unmodifiableBiMap(mod);
    
        /* No aliasing on inverse operations. */
        assertSame(unmod.inverse(), unmod.inverse());
        assertSame(unmod, unmod.inverse().inverse());
    
        /* Unmodifiable is a view. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsTest.java

        BiMap<Integer, String> mod = HashBiMap.create();
        mod.put(1, "one");
        mod.put(2, "two");
        mod.put(3, "three");
    
        BiMap<Number, String> unmod = Maps.<Number, String>unmodifiableBiMap(mod);
    
        /* No aliasing on inverse operations. */
        assertSame(unmod.inverse(), unmod.inverse());
        assertSame(unmod, unmod.inverse().inverse());
    
        /* Unmodifiable is a view. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
Back to top