Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ForwardingCollection (0.08 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  2. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 12.3K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeRangeSet.java

        return (result == null)
            ? asDescendingSetOfRanges = new AsRanges(rangesByLowerBound.descendingMap().values())
            : result;
      }
    
      final class AsRanges extends ForwardingCollection<Range<C>> implements Set<Range<C>> {
    
        final Collection<Range<C>> delegate;
    
        AsRanges(Collection<Range<C>> delegate) {
          this.delegate = delegate;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
Back to top