Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 380 for delegatee (0.08 sec)

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

            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
      private static <T> Multiset<T> wrap(final Multiset<T> delegate) {
        return new ForwardingMultiset<T>() {
          @Override
          protected Multiset<T> delegate() {
            return delegate;
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        public final Object mutex;
        private Map<K, V> delegate;
    
        public TestMap(Map<K, V> delegate, Object mutex) {
          checkNotNull(mutex);
          this.delegate = delegate;
          this.mutex = mutex;
        }
    
        @Override
        protected Map<K, V> delegate() {
          return delegate;
        }
    
        @Override
        public int size() {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingListMultimap.java

      protected ForwardingListMultimap() {}
    
      @Override
      protected abstract ListMultimap<K, V> delegate();
    
      @Override
      public List<V> get(@ParametricNullness K key) {
        return delegate().get(key);
      }
    
      @CanIgnoreReturnValue
      @Override
      public List<V> removeAll(@CheckForNull Object key) {
        return delegate().removeAll(key);
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

            .addEqualityGroup(list2, wrap(list2))
            .testEquals();
      }
    
      private static <T> List<T> wrap(final List<T> delegate) {
        return new ForwardingList<T>() {
          @Override
          protected List<T> delegate() {
            return delegate;
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
      private static <T> SortedMultiset<T> wrap(final SortedMultiset<T> delegate) {
        return new ForwardingSortedMultiset<T>() {
          @Override
          protected SortedMultiset<T> delegate() {
            return delegate;
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ForwardingListTest.java

            .addEqualityGroup(list2, wrap(list2))
            .testEquals();
      }
    
      private static <T> List<T> wrap(final List<T> delegate) {
        return new ForwardingList<T>() {
          @Override
          protected List<T> delegate() {
            return delegate;
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

      public void testListeningDecorator_noWrapExecuteTask() {
        ExecutorService delegate = mock(ExecutorService.class);
        ListeningExecutorService service = listeningDecorator(delegate);
        Runnable task =
            new Runnable() {
              @Override
              public void run() {}
            };
        service.execute(task);
        verify(delegate).execute(task);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        }
        return false;
      }
    
      // Assumes that delegate doesn't have null elements and comparator.
      static <E> ImmutableSortedSet<E> unsafeDelegateSortedSet(
          SortedSet<E> delegate, boolean isSubset) {
        return delegate.isEmpty()
            ? emptySet(delegate.comparator())
            : new RegularImmutableSortedSet<E>(delegate, isSubset);
      }
    
      private final transient SortedSet<E> sortedDelegate;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

        private final Future<?> delegate;
    
        FutureAsCancellable(Future<?> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        @SuppressWarnings("Interruption") // We are propagating an interrupt from a caller.
        public void cancel(boolean mayInterruptIfRunning) {
          delegate.cancel(mayInterruptIfRunning);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingListMultimap.java

      protected ForwardingListMultimap() {}
    
      @Override
      protected abstract ListMultimap<K, V> delegate();
    
      @Override
      public List<V> get(@ParametricNullness K key) {
        return delegate().get(key);
      }
    
      @CanIgnoreReturnValue
      @Override
      public List<V> removeAll(@CheckForNull Object key) {
        return delegate().removeAll(key);
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top