Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for UnmodifiableBiMap (0.32 seconds)

  1. 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>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  2. 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>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  3. 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. */
        assertThat(unmod.inverse()).isSameInstanceAs(unmod.inverse());
        assertThat(unmod.inverse().inverse()).isSameInstanceAs(unmod);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
Back to Top