Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SynchronizedSetMultimap (0.23 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.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. 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> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  3. android/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.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        SerializableTester.reserializeAndAssert(unmodifiable);
      }
    
      @GwtIncompatible // slow (~10s)
      public void testUnmodifiableSynchronizedHashMultimap() {
        checkUnmodifiableMultimap(
            Multimaps.synchronizedSetMultimap(
                HashMultimap.<@Nullable String, @Nullable Integer>create()),
            false);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MultimapsTest.java

        SerializableTester.reserializeAndAssert(unmodifiable);
      }
    
      @GwtIncompatible // slow (~10s)
      public void testUnmodifiableSynchronizedHashMultimap() {
        checkUnmodifiableMultimap(
            Multimaps.synchronizedSetMultimap(
                HashMultimap.<@Nullable String, @Nullable Integer>create()),
            false);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  6. android/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.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
Back to top