Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for BiMap (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.mapEntry;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.testing.SampleElements;
    import java.util.List;
    import java.util.Map.Entry;
    
    /**
     * Implementation helper for {@link TestBiMapGenerator} for use with bimaps of strings.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.mapEntry;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.testing.SampleElements;
    import java.util.List;
    import java.util.Map.Entry;
    
    /**
     * Implementation helper for {@link TestBiMapGenerator} for use with bimaps of strings.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java

      }
    
      @Override
      public Set<N> adjacentNodes() {
        return Collections.unmodifiableSet(((BiMap<E, N>) incidentEdgeMap).values());
      }
    
      @Override
      public Set<E> edgesConnecting(N node) {
        return new EdgesConnecting<>(((BiMap<E, N>) incidentEdgeMap).inverse(), node);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import org.junit.Ignore;
    
    /** Tester for {@code BiMap.put} and {@code BiMap.forcePut}. */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Bimap with zero or more mappings.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/TestBiMapGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.testing.TestContainerGenerator;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates bimaps, containing sample entries, to be tested.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/TestBiMapGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.testing.TestContainerGenerator;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates bimaps, containing sample entries, to be tested.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

        if (map instanceof ImmutableBiMap) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map;
          return bimap;
        }
    
        if (map.isEmpty()) {
          return of();
        }
    
        ImmutableMap<K, V> immutableMap = ImmutableMap.copyOf(map);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/package-info.java

     *   <dt>{@link BiMap}
     *   <dd>An extension of {@link java.util.Map} that guarantees the uniqueness of its values as well
     *       as that of its keys. This is sometimes called an "invertible map," since the restriction on
     *       values enables it to support an {@linkplain BiMap#inverse inverse view} -- which is another
     *       instance of {@code BiMap}.
     *   <dt>{@link Table}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 06 16:29:45 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/package-info.java

     *   <dt>{@link BiMap}
     *   <dd>An extension of {@link java.util.Map} that guarantees the uniqueness of its values as well
     *       as that of its keys. This is sometimes called an "invertible map," since the restriction on
     *       values enables it to support an {@linkplain BiMap#inverse inverse view} -- which is another
     *       instance of {@code BiMap}.
     *   <dt>{@link Table}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 06 16:29:45 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top