Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for EnumHashBiMap (0.08 sec)

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

        /* Map can be empty if it's an EnumHashBiMap. */
        Map<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class);
        bimap = EnumHashBiMap.create(emptyBimap);
        assertTrue(bimap.isEmpty());
    
        /* Map can be empty if it's an EnumBiMap. */
        Map<Currency, Country> emptyBimap2 = EnumBiMap.create(Currency.class, Country.class);
        EnumHashBiMap<Currency, Country> bimap2 = EnumHashBiMap.create(emptyBimap2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/EnumBiMap.java

        if (map instanceof EnumBiMap) {
          return ((EnumBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl;
        }
        if (map instanceof EnumHashBiMap) {
          return ((EnumHashBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl;
        }
        checkArgument(!map.isEmpty());
        return getDeclaringClassOrObjectForJ2cl(map.keySet().iterator().next());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EnumBiMap.java

        if (map instanceof EnumBiMap) {
          return ((EnumBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl;
        }
        if (map instanceof EnumHashBiMap) {
          return ((EnumHashBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl;
        }
        checkArgument(!map.isEmpty());
        return getDeclaringClassOrObjectForJ2cl(map.keySet().iterator().next());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/BiMap.java

     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableBiMap}
     *   <li>{@link HashBiMap}
     *   <li>{@link EnumBiMap}
     *   <li>{@link EnumHashBiMap}
     * </ul>
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#bimap">{@code BiMap}</a>.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/BiMap.java

     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableBiMap}
     *   <li>{@link HashBiMap}
     *   <li>{@link EnumBiMap}
     *   <li>{@link EnumHashBiMap}
     * </ul>
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#bimap">{@code BiMap}</a>.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top