Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 380 for delegatee (0.07 sec)

  1. android/guava/src/com/google/common/collect/DescendingMultiset.java

        return forwardMultiset().headMultiset(fromElement, boundType).descendingMultiset();
      }
    
      @Override
      protected Multiset<E> delegate() {
        return forwardMultiset();
      }
    
      @Override
      public SortedMultiset<E> descendingMultiset() {
        return forwardMultiset();
      }
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        MinMaxPriorityQueue<T> mmHeap;
    
        public InvertedMinMaxPriorityQueue(Comparator<T> comparator) {
          mmHeap = MinMaxPriorityQueue.orderedBy(comparator).create();
        }
    
        @Override
        protected Queue<T> delegate() {
          return mmHeap;
        }
    
        @Override
        public @Nullable T poll() {
          return mmHeap.pollLast();
        }
      }
    
      public enum HeapType {
        MIN_MAX {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolver.java

     * under the License.
     */
    package org.apache.maven.repository.legacy.resolver.conflict;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * The default conflict resolver that delegates to the nearest strategy.
     *
     * @see NearestConflictResolver
     * @deprecated As of 3.0, use a specific implementation instead, e.g. {@link NearestConflictResolver}
     */
    @Deprecated
    @Named
    @Singleton
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          assertWithMessage(
                  "To help optimizers, any class that inherits a package-private writeReplace() method"
                      + " should override that method.\n"
                      + "(An override that delegates to the supermethod is fine.)\n"
                      + "%s has no such override despite inheriting writeReplace() from %s",
                  clazz.getName(), supersWithPackagePrivateWriteReplace.get().getName())
              .fail();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

     * the License.
     */
    package com.google.common.collect;
    
    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Never actually created; instead delegates to JdkBackedImmutableMultiset. */
    @ElementTypesAreNonnullByDefault
    class RegularImmutableMultiset<E> extends ImmutableMultiset<E> {
      static final ImmutableMultiset<Object> EMPTY =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java

        final TreeSet<Integer> result = Sets.newTreeSet(contents);
        // we have to make the result not Navigable
        return new ForwardingSortedSet<Integer>() {
          @Override
          protected SortedSet<Integer> delegate() {
            return result;
          }
        };
      }
    
      @Override
      SortedSet<Integer> filter(SortedSet<Integer> elements, Predicate<? super Integer> predicate) {
        return Sets.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A generator that relies on a preexisting generator for most of its work. For example, a derived
     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A generator that relies on a preexisting generator for most of its work. For example, a derived
     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cache.kt

          private val delegate: MutableIterator<DiskLruCache.Snapshot> = cache.snapshots()
          private var nextUrl: String? = null
          private var canRemove = false
    
          override fun hasNext(): Boolean {
            if (nextUrl != null) return true
    
            canRemove = false // Prevent delegate.remove() on the wrong item!
            while (delegate.hasNext()) {
              try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
        this.s = s;
      }
    
      @Override
      public int hashCode() { // delegate to 's'
        return s.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (other == null) {
          return false;
        } else if (other instanceof BaseComparable) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 20 11:19:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top