Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 345 for undelegate (0.25 sec)

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

      private static class TestMap extends ForwardingConcurrentMap<String, Integer> {
        final ConcurrentMap<String, Integer> delegate = new ConcurrentHashMap<>();
    
        @Override
        protected ConcurrentMap<String, Integer> delegate() {
          return delegate;
        }
      }
    
      public void testPutIfAbsent() {
        TestMap map = new TestMap();
        map.put("foo", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

          Bound from,
          Bound to) {
        TestSortedMapGenerator<K, V> delegate =
            (TestSortedMapGenerator<K, V>) parentBuilder.getSubjectGenerator().getInnerGenerator();
    
        List<Feature<?>> features = new ArrayList<>();
        features.add(NoRecurse.SUBMAP);
        features.addAll(parentBuilder.getFeatures());
    
        return newBuilderUsing(delegate, to, from)
            .named(parentBuilder.getName() + " subMap " + from + "-" + to)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/MoreExecutors.java

      public static ListeningExecutorService listeningDecorator(ExecutorService delegate) {
        return (delegate instanceof ListeningExecutorService)
            ? (ListeningExecutorService) delegate
            : (delegate instanceof ScheduledExecutorService)
                ? new ScheduledListeningDecorator((ScheduledExecutorService) delegate)
                : new ListeningDecorator(delegate);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingMap.java

      @Override
      protected abstract Map<K, V> delegate();
    
      @Override
      public int size() {
        return delegate().size();
      }
    
      @Override
      public boolean isEmpty() {
        return delegate().isEmpty();
      }
    
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
      public V remove(@CheckForNull Object key) {
        return delegate().remove(key);
      }
    
      @Override
      public void clear() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

        implements ScheduledExecutorService {
      final ScheduledExecutorService delegate;
    
      protected WrappingScheduledExecutorService(ScheduledExecutorService delegate) {
        super(delegate);
        this.delegate = delegate;
      }
    
      @Override
      public final ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
        return delegate.schedule(wrapTask(command), delay, unit);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java

       *
       * @since 9.0
       */
      public abstract static class SimpleForwardingListenableFuture<V extends @Nullable Object>
          extends ForwardingListenableFuture<V> {
        private final ListenableFuture<V> delegate;
    
        protected SimpleForwardingListenableFuture(ListenableFuture<V> delegate) {
          this.delegate = Preconditions.checkNotNull(delegate);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 04 12:23:41 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

        // This allows us to only start up a thread waiting on the delegate future when the first
        // listener is added.
        private final AtomicBoolean hasListeners = new AtomicBoolean(false);
    
        // The delegate future.
        private final Future<V> delegate;
    
        ListenableFutureAdapter(Future<V> delegate) {
          this(delegate, defaultAdapterExecutor);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

      }
    
      @Override
      public final boolean isRunning() {
        return delegate.isRunning();
      }
    
      @Override
      public final State state() {
        return delegate.state();
      }
    
      /** @since 13.0 */
      @Override
      public final void addListener(Listener listener, Executor executor) {
        delegate.addListener(listener, executor);
      }
    
      /** @since 14.0 */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingList.java

        return delegate().get(index);
      }
    
      @Override
      public int indexOf(@CheckForNull Object element) {
        return delegate().indexOf(element);
      }
    
      @Override
      public int lastIndexOf(@CheckForNull Object element) {
        return delegate().lastIndexOf(element);
      }
    
      @Override
      public ListIterator<E> listIterator() {
        return delegate().listIterator();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/ShareEnumIterator.java

        private final Iterator<FileEntry> delegate;
        private final ResourceFilter filter;
        private final SmbResource parent;
        private SmbResource next;
    
    
        /**
         * @param parent
         * @param delegate
         * @param filter
         * 
         */
        public ShareEnumIterator ( SmbResource parent, Iterator<FileEntry> delegate, ResourceFilter filter ) {
            this.parent = parent;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
Back to top