Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for WrappedSet (0.22 sec)

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

          Collection<E> collection) {
        return Collections.unmodifiableSet((Set<E>) collection);
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        return new WrappedSet(key, (Set<V>) collection);
      }
    
      // Following Javadoc copied from SetMultimap.
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractSetMultimap.java

          Collection<E> collection) {
        return Collections.unmodifiableSet((Set<E>) collection);
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        return new WrappedSet(key, (Set<V>) collection);
      }
    
      // Following Javadoc copied from SetMultimap.
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            : collection.iterator();
      }
    
      /** Set decorator that stays in sync with the multimap values for a key. */
      @WeakOuter
      class WrappedSet extends WrappedCollection implements Set<V> {
        WrappedSet(@ParametricNullness K key, Set<V> delegate) {
          super(key, delegate, null);
        }
    
        @Override
        public boolean removeAll(Collection<?> c) {
          if (c.isEmpty()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 48K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            : collection.iterator();
      }
    
      /** Set decorator that stays in sync with the multimap values for a key. */
      @WeakOuter
      class WrappedSet extends WrappedCollection implements Set<V> {
        WrappedSet(@ParametricNullness K key, Set<V> delegate) {
          super(key, delegate, null);
        }
    
        @Override
        public boolean removeAll(Collection<?> c) {
          if (c.isEmpty()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

          } else if (collection instanceof SortedSet) {
            return new WrappedSortedSet(key, (SortedSet<V>) collection, null);
          } else if (collection instanceof Set) {
            return new WrappedSet(key, (Set<V>) collection);
          } else {
            return new WrappedCollection(key, collection, null);
          }
        }
    
        // can't use Serialization writeMultimap and populateMultimap methods since
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multimaps.java

          } else if (collection instanceof SortedSet) {
            return new WrappedSortedSet(key, (SortedSet<V>) collection, null);
          } else if (collection instanceof Set) {
            return new WrappedSet(key, (Set<V>) collection);
          } else {
            return new WrappedCollection(key, collection, null);
          }
        }
    
        // can't use Serialization writeMultimap and populateMultimap methods since
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 86.4K bytes
    - Viewed (0)
Back to top