Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,332 for delegate (0.27 sec)

  1. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        this(new TreeMap<K, V>(map));
      }
    
      private SafeTreeMap(NavigableMap<K, V> delegate) {
        this.delegate = delegate;
        if (delegate == null) {
          throw new NullPointerException();
        }
        for (K k : keySet()) {
          checkValid(k);
        }
      }
    
      @Override
      public @Nullable Entry<K, V> ceilingEntry(K key) {
        return delegate.ceilingEntry(checkValid(key));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
      private static <T> NavigableSet<T> wrap(final NavigableSet<T> delegate) {
        return new ForwardingNavigableSet<T>() {
          @Override
          protected NavigableSet<T> delegate() {
            return delegate;
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

        c = c.superclass
      }
    
      // Didn't find the field we wanted. As a last gasp attempt,
      // try to find the value on a delegate.
      if (fieldName != "delegate") {
        val delegate = readFieldOrNull(instance, Any::class.java, "delegate")
        if (delegate != null) return readFieldOrNull(delegate, fieldType, fieldName)
      }
    
      return null
    }
    
    @JvmField
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/InvalidatableSet.java

      }
    
      private InvalidatableSet(
          Set<E> delegate, Supplier<Boolean> validator, Supplier<String> errorMessage) {
        this.delegate = delegate;
        this.validator = validator;
        this.errorMessage = errorMessage;
      }
    
      // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call
      // via delegate()); it seems inappropriate to throw ISE on this method.
      @Override
      public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

      private final ListenableFuture<V> delegate;
    
      ForwardingFluentFuture(ListenableFuture<V> delegate) {
        this.delegate = checkNotNull(delegate);
      }
    
      @Override
      public void addListener(Runnable listener, Executor executor) {
        delegate.addListener(listener, executor);
      }
    
      @Override
      public boolean cancel(boolean mayInterruptIfRunning) {
        return delegate.cancel(mayInterruptIfRunning);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/ForwardingLoadingCache.java

       *
       * @since 10.0
       */
      public abstract static class SimpleForwardingLoadingCache<K, V>
          extends ForwardingLoadingCache<K, V> {
        private final LoadingCache<K, V> delegate;
    
        protected SimpleForwardingLoadingCache(LoadingCache<K, V> delegate) {
          this.delegate = Preconditions.checkNotNull(delegate);
        }
    
        @Override
        protected final LoadingCache<K, V> delegate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/UnmodifiableSortedMultiset.java

        implements SortedMultiset<E> {
      UnmodifiableSortedMultiset(SortedMultiset<E> delegate) {
        super(delegate);
      }
    
      @Override
      protected SortedMultiset<E> delegate() {
        return (SortedMultiset<E>) super.delegate();
      }
    
      @Override
      public Comparator<? super E> comparator() {
        return delegate().comparator();
      }
    
      @Override
      SortedSet<E> createElementSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt

    import java.net.Socket
    import javax.net.SocketFactory
    
    /**
     * A [SocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureSocket].
     */
    open class DelegatingSocketFactory(private val delegate: SocketFactory) : SocketFactory() {
      @Throws(IOException::class)
      override fun createSocket(): Socket {
        val socket = delegate.createSocket()
        return configureSocket(socket)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

        UnmodifiableListMultimap(ListMultimap<K, V> delegate) {
          super(delegate);
        }
    
        @Override
        public ListMultimap<K, V> delegate() {
          return (ListMultimap<K, V>) super.delegate();
        }
    
        @Override
        public List<V> get(@ParametricNullness K key) {
          return Collections.unmodifiableList(delegate().get(key));
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

            cl.delegate = builder
            cl.call()
            def firstChild = parent.getFirstChild()
            builder.elements.each { element ->
                parent.insertBefore(element, firstChild)
            }
        }
    
        public static void addBefore(Node sibling, Closure cl) {
            DomBuilder builder = new DomBuilder(sibling.ownerDocument, null)
            cl.delegate = builder
            cl.call()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 11 15:32:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top