Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,332 for delegate (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. 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)
  3. 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)
  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. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java

        implements TestSetGenerator<E> {
    
      ReserializingTestSetGenerator(TestSetGenerator<E> delegate) {
        super(delegate);
      }
    
      public static <E> TestSetGenerator<E> newInstance(TestSetGenerator<E> delegate) {
        return new ReserializingTestSetGenerator<>(delegate);
      }
    
      @Override
      public Set<E> create(Object... elements) {
        return (Set<E>) super.create(elements);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      @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) {
            return object != null && Collections2.safeContains(delegate, object);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.java

      @Override
      protected abstract ListeningExecutorService delegate();
    
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(Callable<T> task) {
        return delegate().submit(task);
      }
    
      @Override
      public ListenableFuture<?> submit(Runnable task) {
        return delegate().submit(task);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. 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)
Back to top