Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,182 for delegate (0.35 sec)

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

            .addEqualityGroup(map2, wrap(map2))
            .testEquals();
      }
    
      private static <K, V> SortedMap<K, V> wrap(SortedMap<K, V> delegate) {
        return new ForwardingSortedMap<K, V>() {
          @Override
          protected SortedMap<K, V> delegate() {
            return delegate;
          }
        };
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        public final Object mutex;
        private final 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

        /**
         * Constructs a CIFS context wrapper with custom credentials.
         *
         * @param delegate the context to wrap
         * @param creds
         *            Credentials to use
         */
        public CIFSContextCredentialWrapper(final AbstractCIFSContext delegate, final Credentials creds) {
            super(delegate);
            this.creds = creds;
        }
    
        /**
         *
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

        private final NavigableSet<E> delegate;
        private final SortedSet<E> unmodifiableDelegate;
    
        UnmodifiableNavigableSet(NavigableSet<E> delegate) {
          this.delegate = checkNotNull(delegate);
          this.unmodifiableDelegate = Collections.unmodifiableSortedSet(delegate);
        }
    
        @Override
        protected SortedSet<E> delegate() {
          return unmodifiableDelegate;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSortedSet.java

    final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
      /** true if this set is a subset of another immutable sorted set. */
      final boolean isSubset;
    
      RegularImmutableSortedSet(SortedSet<E> delegate, boolean isSubset) {
        super(delegate);
        this.isSubset = isSubset;
      }
    
      @Override
      ImmutableList<E> createAsList() {
        return new ImmutableSortedAsList<>(this, ImmutableList.asImmutableList(toArray()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 22:23:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java

    final class SingletonImmutableList<E> extends ForwardingImmutableList<E> {
      private final transient List<E> delegate;
      private final E element;
    
      SingletonImmutableList(E element) {
        this.delegate = singletonList(checkNotNull(element));
        this.element = element;
      }
    
      @Override
      List<E> delegateList() {
        return delegate;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 22:23:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMultimapAsMapImplementsMapTest.java

        return ImmutableMultimap.<String, Integer>of().asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> delegate = HashMultimap.create();
        populate(delegate);
        return ImmutableMultimap.copyOf(delegate).asMap();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java

            .asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        ListMultimap<String, Integer> delegate = ArrayListMultimap.create();
        populate(delegate);
        return Multimaps.transformValues(delegate, Functions.<Integer>identity()).asMap();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        return super.equals(obj);
      }
    
      /**
       * By default delegates to {@link Object#hashCode}. The dynamic proxies' {@code hashCode()} will
       * delegate to this method. Subclasses can override this method to provide custom equality.
       */
      @Override
      public int hashCode() {
        return super.hashCode();
      }
    
      /**
       * By default delegates to {@link Object#toString}. The dynamic proxies' {@code toString()} will
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

       */
      private inner class TaskFakerBlockingQueue<T>(
        val delegate: BlockingQueue<T>,
      ) : AbstractQueue<T>(),
        BlockingQueue<T> {
        override val size: Int = delegate.size
    
        private var editCount = 0
    
        override fun poll(): T = delegate.poll()
    
        override fun poll(
          timeout: Long,
          unit: TimeUnit,
        ): T? {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top