Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for ForwardingSet (0.16 sec)

  1. guava/src/com/google/common/collect/ForwardingObject.java

      /**
       * Returns the backing delegate instance that methods are forwarded to. Abstract subclasses
       * generally override this method with an abstract method that has a more specific return type,
       * such as {@link ForwardingSet#delegate}. Concrete subclasses override this method to supply the
       * instance being decorated.
       */
      protected abstract Object delegate();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

                          @Override
                          public Set<Entry<String>> entrySet() {
                            final Set<Entry<String>> backingSet = super.entrySet();
                            return new ForwardingSet<Entry<String>>() {
                              @Override
                              protected Set<Entry<String>> delegate() {
                                return backingSet;
                              }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingSortedSet.java

     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingSortedSet<E extends @Nullable Object> extends ForwardingSet<E>
        implements SortedSet<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingSortedSet() {}
    
      @Override
      protected abstract SortedSet<E> delegate();
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

                          @Override
                          public Set<Entry<String>> entrySet() {
                            final Set<Entry<String>> backingSet = super.entrySet();
                            return new ForwardingSet<Entry<String>>() {
                              @Override
                              protected Set<Entry<String>> delegate() {
                                return backingSet;
                              }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

            cast(getKey(), value);
            return super.setValue(value);
          }
        };
      }
    
      @Override
      public Set<Entry<Class<? extends @NonNull B>, B>> entrySet() {
        return new ForwardingSet<Entry<Class<? extends @NonNull B>, B>>() {
    
          @Override
          protected Set<Entry<Class<? extends @NonNull B>, B>> delegate() {
            return MutableClassToInstanceMap.this.delegate().entrySet();
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              return true;
            }
          }
        }
        return false;
      }
    
      // Views
    
      @Override
      Set<E> createElementSet() {
        Set<E> delegate = countMap.keySet();
        return new ForwardingSet<E>() {
          @Override
          protected Set<E> delegate() {
            return delegate;
          }
    
          @Override
          public boolean contains(@CheckForNull Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

                  .that(immutableCopy)
                  .isIn(distinctCandidatesByAscendingSize);
            }
          }
        }
      }
    
      private static final class MutatedOnQuerySet<E> extends ForwardingSet<E> {
        final Iterator<ImmutableSet<E>> infiniteCandidates;
    
        MutatedOnQuerySet(Iterable<ImmutableSet<E>> infiniteCandidates) {
          this.infiniteCandidates = infiniteCandidates.iterator();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        CountingSupplier<Set<Integer>> factory =
            new SetSupplier() {
              @Override
              public Set<Integer> getImpl() {
                final Set<Integer> backing = super.getImpl();
                return new ForwardingSet<Integer>() {
                  @Override
                  protected Set<Integer> delegate() {
                    return backing;
                  }
    
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

          return asMap(set.descendingSet(), function);
        }
      }
    
      private static <E extends @Nullable Object> Set<E> removeOnlySet(final Set<E> set) {
        return new ForwardingSet<E>() {
          @Override
          protected Set<E> delegate() {
            return set;
          }
    
          @Override
          public boolean add(@ParametricNullness E element) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

          return asMap(set.descendingSet(), function);
        }
      }
    
      private static <E extends @Nullable Object> Set<E> removeOnlySet(final Set<E> set) {
        return new ForwardingSet<E>() {
          @Override
          protected Set<E> delegate() {
            return set;
          }
    
          @Override
          public boolean add(@ParametricNullness E element) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top