Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SynchronizedSetMultimap (0.16 sec)

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

     * read operations will work correctly if the last write <i>happens-before</i> any reads. To allow
     * concurrent update operations, wrap your multimap with a call to {@link
     * Multimaps#synchronizedSetMultimap}.
     *
     * <p><b>Warning:</b> Do not modify either a key <i>or a value</i> of a {@code HashMultimap} in a
     * way that affects its {@link Object#equals} behavior. Undefined behavior and bugs will result.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 10:02:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        checkUnmodifiableMultimap(
            synchronizedSetMultimap(HashMultimap.<@Nullable String, @Nullable Integer>create()), false);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerializingUnmodifiableSynchronizedHashMultimap() {
        Multimap<String, Integer> unmodifiable =
            prepareUnmodifiableTests(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

          SetMultimap<K, V> multimap, @CheckForNull Object mutex) {
        if (multimap instanceof SynchronizedSetMultimap || multimap instanceof BaseImmutableMultimap) {
          return multimap;
        }
        return new SynchronizedSetMultimap<>(multimap, mutex);
      }
    
      static class SynchronizedSetMultimap<K extends @Nullable Object, V extends @Nullable Object>
          extends SynchronizedMultimap<K, V> implements SetMultimap<K, V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Synchronized.java

          SetMultimap<K, V> multimap, @CheckForNull Object mutex) {
        if (multimap instanceof SynchronizedSetMultimap || multimap instanceof BaseImmutableMultimap) {
          return multimap;
        }
        return new SynchronizedSetMultimap<>(multimap, mutex);
      }
    
      static class SynchronizedSetMultimap<K extends @Nullable Object, V extends @Nullable Object>
          extends SynchronizedMultimap<K, V> implements SetMultimap<K, V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/LinkedHashMultimap.java

     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
     * with a call to {@link Multimaps#synchronizedSetMultimap}.
     *
     * <p><b>Warning:</b> Do not modify either a key <i>or a value</i> of a {@code LinkedHashMultimap}
     * in a way that affects its {@link Object#equals} behavior. Undefined behavior and bugs will
     * result.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedSetMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link HashMultimap#create()}, {@link
       * LinkedHashMultimap#create()}, {@link TreeMultimap#create()}, and {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top