Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 589 for specify (0.35 sec)

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

      /**
       * Adds a single occurrence of the specified element to this multiset.
       *
       * <p>This method refines {@link Collection#add}, which only <i>ensures</i> the presence of the
       * element, to further specify that a successful call must always increment the count of the
       * element, and the overall size of the collection, by one.
       *
       * <p>To both add the element and obtain the previous count of that element, use {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

       *       servers {@code alpha}, {@code bravo}, and {@code charlie} and you occasionally need to
       *       take each of the servers offline, {@code consistentHash} will be a poor fit: It provides
       *       no way for you to specify which of the three buckets is disappearing. Thus, if your
       *       buckets change from {@code [alpha, bravo, charlie]} to {@code [bravo, charlie]}, it will
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Basic implementation of {@code Multiset<E>} backed by an instance of {@code Map<E, Count>}.
     *
     * <p>For serialization to work, the subclass must specify explicit {@code readObject} and {@code
     * writeObject} methods.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link Set} implementations in the {@link java.util} package.
     * Can be subclassed to specify tests that should be suppressed.
     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForSetsInJavaUtil {
      public static Test suite() {
        return new TestsForSetsInJavaUtil().allTests();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/QuantilesTest.java

            .isWithin(ALLOWED_ERROR)
            .of(45.6);
      }
    
      public void testScale_indexes_varargs_compute_doubleCollection() {
        // Note that we specify index 1 twice, which by the method contract should be ignored.
        assertThat(Quantiles.scale(10).indexes(0, 10, 5, 1, 8, 1).compute(SIXTEEN_SQUARES_DOUBLES))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/QuantilesTest.java

            .isWithin(ALLOWED_ERROR)
            .of(45.6);
      }
    
      public void testScale_indexes_varargs_compute_doubleCollection() {
        // Note that we specify index 1 twice, which by the method contract should be ignored.
        assertThat(Quantiles.scale(10).indexes(0, 10, 5, 1, 8, 1).compute(SIXTEEN_SQUARES_DOUBLES))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

    @ElementTypesAreNonnullByDefault
    public class CycleDetectingLockFactory {
    
      /**
       * Encapsulates the action to be taken when a potential deadlock is encountered. Clients can use
       * one of the predefined {@link Policies} or specify a custom implementation. Implementations must
       * be thread-safe.
       *
       * @since 13.0
       */
      public interface Policy {
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashFunction.java

     *
     * <p>Hasher accepts primitive data types, but can also accept any Object of type {@code T} provided
     * that you implement a {@link Funnel}{@code <T>} to specify how to "feed" data from that object
     * into the function. (See {@linkplain Hasher#putObject an example} of this.)
     *
     * <p><b>Compatibility note:</b> Throughout this API, multibyte values are always interpreted in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link Map} implementations in the {@link java.util} package.
     * Can be subclassed to specify tests that should be suppressed.
     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
      public static Test suite() {
        return new TestsForMapsInJavaUtil().allTests();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link Map} implementations in the {@link java.util} package.
     * Can be subclassed to specify tests that should be suppressed.
     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
      public static Test suite() {
        return new TestsForMapsInJavaUtil().allTests();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top