Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Multisets (0.05 sec)

  1. android/guava/src/com/google/common/collect/Multimaps.java

        }
    
        @Override
        Iterator<Multiset.Entry<K>> entryIterator() {
          return new TransformedIterator<Map.Entry<K, Collection<V>>, Multiset.Entry<K>>(
              multimap.asMap().entrySet().iterator()) {
            @Override
            Multiset.Entry<K> transform(final Map.Entry<K, Collection<V>> backingEntry) {
              return new Multisets.AbstractEntry<K>() {
                @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Synchronized.java

        private static final long serialVersionUID = 0;
      }
    
      static <E extends @Nullable Object> Multiset<E> multiset(
          Multiset<E> multiset, @CheckForNull Object mutex) {
        if (multiset instanceof SynchronizedMultiset || multiset instanceof ImmutableMultiset) {
          return multiset;
        }
        return new SynchronizedMultiset<>(multiset, mutex);
      }
    
      static final class SynchronizedMultiset<E extends @Nullable Object>
    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

        private static final long serialVersionUID = 0;
      }
    
      static <E extends @Nullable Object> Multiset<E> multiset(
          Multiset<E> multiset, @CheckForNull Object mutex) {
        if (multiset instanceof SynchronizedMultiset || multiset instanceof ImmutableMultiset) {
          return multiset;
        }
        return new SynchronizedMultiset<>(multiset, mutex);
      }
    
      static final class SynchronizedMultiset<E extends @Nullable Object>
    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/Sets.java

        }
        return changed;
      }
    
      static boolean removeAllImpl(Set<?> set, Collection<?> collection) {
        checkNotNull(collection); // for GWT
        if (collection instanceof Multiset) {
          collection = ((Multiset<?>) collection).elementSet();
        }
        /*
         * AbstractSet.removeAll(List) has quadratic behavior if the list size
         * is just more than the set's size.  We augment the test by
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top