Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ImprovedAbstractSet (0.08 sec)

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

          @ParametricNullness
          E transform(Entry<E> entry) {
            return entry.getElement();
          }
        };
      }
    
      abstract static class ElementSet<E extends @Nullable Object> extends Sets.ImprovedAbstractSet<E> {
        abstract Multiset<E> multiset();
    
        @Override
        public void clear() {
          multiset().clear();
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Multisets.java

          @ParametricNullness
          E transform(Entry<E> entry) {
            return entry.getElement();
          }
        };
      }
    
      abstract static class ElementSet<E extends @Nullable Object> extends Sets.ImprovedAbstractSet<E> {
        abstract Multiset<E> multiset();
    
        @Override
        public void clear() {
          multiset().clear();
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

          self.put(entry.getKey(), entry.getValue());
        }
      }
    
      static class KeySet<K extends @Nullable Object, V extends @Nullable Object>
          extends Sets.ImprovedAbstractSet<K> {
        @Weak final Map<K, V> map;
    
        KeySet(Map<K, V> map) {
          this.map = checkNotNull(map);
        }
    
        Map<K, V> map() {
          return map;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

          self.put(entry.getKey(), entry.getValue());
        }
      }
    
      static class KeySet<K extends @Nullable Object, V extends @Nullable Object>
          extends Sets.ImprovedAbstractSet<K> {
        @Weak final Map<K, V> map;
    
        KeySet(Map<K, V> map) {
          this.map = checkNotNull(map);
        }
    
        Map<K, V> map() {
          return map;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

    public final class Sets {
      private Sets() {}
    
      /**
       * {@link AbstractSet} substitute without the potentially-quadratic {@code removeAll}
       * implementation.
       */
      abstract static class ImprovedAbstractSet<E extends @Nullable Object> extends AbstractSet<E> {
        @Override
        public boolean removeAll(Collection<?> c) {
          return removeAllImpl(this, c);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

          return map.entrySet().contains(Maps.immutableEntry(key, value));
        }
    
        @Override
        public Set<V> get(@ParametricNullness final K key) {
          return new Sets.ImprovedAbstractSet<V>() {
            @Override
            public Iterator<V> iterator() {
              return new Iterator<V>() {
                int i;
    
                @Override
                public boolean hasNext() {
    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