Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for HashBiMap (0.07 sec)

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

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class HashBiMap<K extends @Nullable Object, V extends @Nullable Object>
        extends IteratorBasedAbstractMap<K, V> implements BiMap<K, V>, Serializable {
    
      /** Returns a new, empty {@code HashBiMap} with the default initial capacity (16). */
      public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create() {
        return create(16);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/HashBiMap.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class HashBiMap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMap<K, V> implements BiMap<K, V>, Serializable {
    
      /** Returns a new, empty {@code HashBiMap} with the default initial capacity (16). */
      public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create() {
        return create(16);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/HashBiMapTest.java

                "chile", "peso",
                "switzerland", "franc");
        HashBiMap<String, String> bimap = HashBiMap.create(map);
        assertEquals("dollar", bimap.get("canada"));
        assertEquals("canada", bimap.inverse().get("dollar"));
      }
    
      private static final int N = 1000;
    
      public void testBashIt() throws Exception {
        BiMap<Integer, Integer> bimap = HashBiMap.create(N);
        BiMap<Integer, Integer> inverse = bimap.inverse();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java

     */
    
    package com.google.common.graph;
    
    import static com.google.common.graph.GraphConstants.EXPECTED_DEGREE;
    
    import com.google.common.collect.BiMap;
    import com.google.common.collect.HashBiMap;
    import com.google.common.collect.ImmutableBiMap;
    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * An implementation of {@link NetworkConnections} for undirected networks.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FilteredBiMapTest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class FilteredBiMapTest extends AbstractFilteredMapTest {
      @Override
      BiMap<String, Integer> createUnfiltered() {
        return HashBiMap.create();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 899 bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.base.Ticker;
    import com.google.common.collect.ArrayListMultimap;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.HashBasedTable;
    import com.google.common.collect.HashBiMap;
    import com.google.common.collect.HashMultimap;
    import com.google.common.collect.HashMultiset;
    import com.google.common.collect.ImmutableBiMap;
    import com.google.common.collect.ImmutableCollection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/BiMap.java

     * bimap containing the same entries as this bimap but with reversed keys and values.
     *
     * <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>.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      static <K, V> BiMap<K, V> generateBimap(@Nullable K key, @Nullable V value) {
        return generateHashBiMap(key, value);
      }
    
      @Generates
      static <K, V> HashBiMap<K, V> generateHashBiMap(@Nullable K key, @Nullable V value) {
        HashBiMap<K, V> bimap = HashBiMap.create();
        bimap.put(key, value);
        return bimap;
      }
    
      @Generates
      static <K, V> ImmutableBiMap<K, V> generateImmutableBimap(K key, V value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      static <K, V> BiMap<K, V> generateBimap(@Nullable K key, @Nullable V value) {
        return generateHashBiMap(key, value);
      }
    
      @Generates
      static <K, V> HashBiMap<K, V> generateHashBiMap(@Nullable K key, @Nullable V value) {
        HashBiMap<K, V> bimap = HashBiMap.create();
        bimap.put(key, value);
        return bimap;
      }
    
      @Generates
      static <K, V> ImmutableBiMap<K, V> generateImmutableBimap(K key, V value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/BiMap.java

     * bimap containing the same entries as this bimap but with reversed keys and values.
     *
     * <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>.
    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