Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for elementSet (0.54 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) {
    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)
  2. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. 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");
        }
      }
    
    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