Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for synchronizedSetMultimap (0.13 sec)

  1. 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)
  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> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  3. 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)
  4. 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