Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 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 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. 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)
  5. 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)
  6. 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