Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ForwardingSet (0.13 sec)

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

          this.delegate = delegate;
        }
    
        @Override
        protected Map<K, V> delegate() {
          return delegate;
        }
    
        @Override
        public Set<K> keySet() {
          return new ForwardingSet<K>() {
            @Override
            protected Set<K> delegate() {
              return delegate.keySet();
            }
    
            @Override
            public Iterator<K> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractBiMap.java

      @Override
      public Set<K> keySet() {
        Set<K> result = keySet;
        return (result == null) ? keySet = new KeySet() : result;
      }
    
      @WeakOuter
      private class KeySet extends ForwardingSet<K> {
        @Override
        protected Set<K> delegate() {
          return delegate.keySet();
        }
    
        @Override
        public void clear() {
          AbstractBiMap.this.clear();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  3. 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)
  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/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)
  6. 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)
  7. 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)
Back to top