Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for elementSet (0.09 sec)

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

            return delegate().setCount(element, oldCount, newCount);
          }
        }
    
        @Override
        public Set<E> elementSet() {
          synchronized (mutex) {
            if (elementSet == null) {
              elementSet = typePreservingSet(delegate().elementSet(), mutex);
            }
            return elementSet;
          }
        }
    
        @Override
        public Set<Multiset.Entry<E>> entrySet() {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Synchronized.java

            return delegate().setCount(element, oldCount, newCount);
          }
        }
    
        @Override
        public Set<E> elementSet() {
          synchronized (mutex) {
            if (elementSet == null) {
              elementSet = typePreservingSet(delegate().elementSet(), mutex);
            }
            return elementSet;
          }
        }
    
        @Override
        public Set<Multiset.Entry<E>> entrySet() {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

      }
    
      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)
  4. android/guava/src/com/google/common/collect/Multimaps.java

            }
          }
          return oldCount;
        }
    
        @Override
        public void clear() {
          multimap.clear();
        }
    
        @Override
        public Set<K> elementSet() {
          return multimap.keySet();
        }
    
        @Override
        Iterator<K> elementIterator() {
          throw new AssertionError("should never be called");
        }
      }
    
    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