Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 270 for Implementation (1.38 sec)

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

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code Multimap}
     * implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class MultimapTestSuiteBuilder<K, V, M extends Multimap<K, V>>
        extends PerCollectionSizeTestSuiteBuilder<
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * equal to warmupPeriod. And the time to go from thresholdPermits to 0 is warmupPeriod/2. (The
       * reason that this is warmupPeriod/2 is to maintain the behavior of the original implementation
       * where coldFactor was hard coded as 3.)
       *
       * <p>It remains to calculate thresholdsPermits and maxPermits.
       *
       * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        @Override
        @CheckForNull
        public Class<?> loadFinalizer() {
          try {
            /*
             * We use URLClassLoader because it's the only concrete class loader implementation in the
             * JDK. If we used our own ClassLoader subclass, Finalizer would indirectly reference this
             * class loader:
             *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

                IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N1, N1, E11));
        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      /**
       * This test checks an implementation dependent feature. It tests that the method {@code addEdge}
       * will silently add the missing nodes to the graph, then add the edge connecting them. We are not
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

          return of();
        } else if (length == 1) {
          return of(get(fromIndex));
        } else {
          return subListUnchecked(fromIndex, toIndex);
        }
      }
    
      /**
       * Called by the default implementation of {@link #subList} when {@code toIndex - fromIndex > 1},
       * after index validation has already been performed.
       */
      ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractBiMap.java

    import java.util.Map;
    import java.util.Set;
    import java.util.function.BiFunction;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A general-purpose bimap implementation using any two backing {@code Map} instances.
     *
     * <p>Note that this class contains {@code equals()} calls that keep it from supporting {@code
     * IdentityHashMap} backing maps.
     *
     * @author Kevin Bourrillion
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

       * contents to empty. By contrast, the non-GWT constructor with the same signature uses the
       * comparator only as a comparator. It does NOT assume empty contents. (It requires an
       * implementation of iterator() to define its contents, and methods like contains() are
       * implemented in terms of that method (though they will likely be overridden by subclasses for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

                //
                // If we were to cancel taskFuture, that would let the next task start while the old
                // one is still running.
                //
                // Now, maybe we could tweak our implementation to not start the next task until the
                // callable actually completes. (We could detect completion in our wrapper
                // `AsyncCallable task`.) However, our contract also promises:
                //
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeMultiset.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A multiset which maintains the ordering of its elements, according to either their natural order
     * or an explicit {@link Comparator}. In all cases, this implementation uses {@link
     * Comparable#compareTo} or {@link Comparator#compare} instead of {@link Object#equals} to determine
     * equivalence of instances.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Suppliers.java

       *
       * @since 8.0
       */
      public static <T extends @Nullable Object> Function<Supplier<T>, T> supplierFunction() {
        @SuppressWarnings("unchecked") // implementation is "fully variant"
        SupplierFunction<T> sf = (SupplierFunction<T>) SupplierFunctionImpl.INSTANCE;
        return sf;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top