Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ForwardingCollection (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link ForwardingCollection}.
     *
     * @author Robert Konigsberg
     * @author Hayward Chan
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ForwardingCollectionTest extends TestCase {
      static final class StandardImplForwardingCollection<T> extends ForwardingCollection<T> {
        private final Collection<T> backingCollection;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  2. guava/src/com/google/common/collect/FilteredKeyMultimap.java

        throw new AssertionError("should never be called");
      }
    
      @Override
      Collection<Entry<K, V>> createEntries() {
        return new Entries();
      }
    
      @WeakOuter
      class Entries extends ForwardingCollection<Entry<K, V>> {
        @Override
        protected Collection<Entry<K, V>> delegate() {
          return Collections2.filter(unfiltered.entries(), entryPredicate());
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

            public boolean retainAll(Collection<?> c) {
              return delegate.keySet().retainAll(c);
            }
          };
        }
    
        @Override
        public Collection<V> values() {
          return new ForwardingCollection<V>() {
            @Override
            protected Collection<V> delegate() {
              return delegate.values();
            }
    
            @Override
            public Iterator<V> iterator() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

            public boolean retainAll(Collection<?> c) {
              return delegate.keySet().retainAll(c);
            }
          };
        }
    
        @Override
        public Collection<V> values() {
          return new ForwardingCollection<V>() {
            @Override
            protected Collection<V> delegate() {
              return delegate.values();
            }
    
            @Override
            public Iterator<V> iterator() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingMultiset.java

     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingMultiset<E extends @Nullable Object> extends ForwardingCollection<E>
        implements Multiset<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingMultiset() {}
    
      @Override
      protected abstract Multiset<E> delegate();
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMultiset.java

     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingMultiset<E extends @Nullable Object> extends ForwardingCollection<E>
        implements Multiset<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingMultiset() {}
    
      @Override
      protected abstract Multiset<E> delegate();
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

       */
      @SafeVarargs
      public static <B> Set<List<B>> cartesianProduct(Set<? extends B>... sets) {
        return cartesianProduct(asList(sets));
      }
    
      private static final class CartesianSet<E> extends ForwardingCollection<List<E>>
          implements Set<List<E>> {
        private final transient ImmutableList<ImmutableSet<E>> axes;
        private final transient CartesianList<E> delegate;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Maps.java

          }
        };
      }
    
      /** The implementation of {@link Multimaps#unmodifiableEntries}. */
      static class UnmodifiableEntries<K extends @Nullable Object, V extends @Nullable Object>
          extends ForwardingCollection<Entry<K, V>> {
        private final Collection<Entry<K, V>> entries;
    
        UnmodifiableEntries(Collection<Entry<K, V>> entries) {
          this.entries = entries;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

          }
        };
      }
    
      /** The implementation of {@link Multimaps#unmodifiableEntries}. */
      static class UnmodifiableEntries<K extends @Nullable Object, V extends @Nullable Object>
          extends ForwardingCollection<Entry<K, V>> {
        private final Collection<Entry<K, V>> entries;
    
        UnmodifiableEntries(Collection<Entry<K, V>> entries) {
          this.entries = entries;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
Back to top