Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for ForwardingCollection (0.08 sec)

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

     * methods that they depend on are thread-safe.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingSet<E extends @Nullable Object> extends ForwardingCollection<E>
        implements Set<E> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingSet() {}
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingSet.java

     * methods that they depend on are thread-safe.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingSet<E extends @Nullable Object> extends ForwardingCollection<E>
        implements Set<E> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingSet() {}
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. 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)
  4. android/guava/src/com/google/common/collect/package-info.java

     * We provide implementations of collections that forward all method calls to a delegate collection
     * by default. Subclasses can override one or more methods to implement the decorator pattern. For
     * an example, see {@link ForwardingCollection}.
     *
     * <h2>Other</h2>
     *
     * <ul>
     *   <li>{@link EvictingQueue}
     *   <li>{@link Interner}, {@link Interners}
     *   <li>{@link MapMaker}
     *   <li>{@link MinMaxPriorityQueue}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. guava/src/com/google/common/collect/package-info.java

     * We provide implementations of collections that forward all method calls to a delegate collection
     * by default. Subclasses can override one or more methods to implement the decorator pattern. For
     * an example, see {@link ForwardingCollection}.
     *
     * <h2>Other</h2>
     *
     * <ul>
     *   <li>{@link EvictingQueue}
     *   <li>{@link Interner}, {@link Interners}
     *   <li>{@link MapMaker}
     *   <li>{@link MinMaxPriorityQueue}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/collect/ForwardingList.java

     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingList<E extends @Nullable Object> extends ForwardingCollection<E>
        implements List<E> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingList() {}
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. 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)
Back to top