Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 308 for generates (0.2 sec)

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

       */
      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
      private @interface Generates {}
    
      /**
       * Annotates a method to generate the "empty" instance of a collection. This method should accept
       * no parameter. The value it generates should be unequal to the values generated by methods
       * annotated with {@link Generates}.
       */
      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/MathBenchmarking.java

        66,
        66,
        66
      };
    
      /**
       * Generates values in a distribution equivalent to randomNonNegativeBigInteger but omitting zero.
       */
      static BigInteger randomPositiveBigInteger(int numBits) {
        BigInteger result;
        do {
          result = randomNonNegativeBigInteger(numBits);
        } while (result.signum() == 0);
        return result;
      }
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

       */
      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
      private @interface Generates {}
    
      /**
       * Annotates a method to generate the "empty" instance of a collection. This method should accept
       * no parameter. The value it generates should be unequal to the values generated by methods
       * annotated with {@link Generates}.
       */
      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MultimapBuilder.java

     *
     * <p>The generated multimaps are serializable if the key and value types are serializable, unless
     * stated otherwise in one of the configuration methods.
     *
     * @author Louis Wasserman
     * @param <K0> An upper bound on the key type of the generated multimap.
     * @param <V0> An upper bound on the value type of the generated multimap.
     * @since 16.0
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Chars;
    import java.util.List;
    
    /**
     * Generates {@code List<Character>} instances for test suites.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharSinkTester.java

    import java.io.IOException;
    import java.io.Writer;
    import java.lang.reflect.Method;
    import java.util.Map.Entry;
    import junit.framework.TestSuite;
    
    /**
     * A generator of {@code TestSuite} instances for testing {@code CharSink} implementations.
     * Generates tests of all methods on a {@code CharSink} given various inputs written to it.
     *
     * @author Colin Decker
     */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/DummyProxy.java

    import java.io.Serializable;
    import java.lang.reflect.Method;
    import java.lang.reflect.Proxy;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Generates a dummy interface proxy that simply returns a dummy value for each method.
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class DummyProxy {
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

    import java.io.Serializable;
    import java.lang.reflect.Method;
    import java.lang.reflect.Proxy;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Generates a dummy interface proxy that simply returns a dummy value for each method.
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class DummyProxy {
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

        66,
        66,
        66
      };
    
      /**
       * Generates values in a distribution equivalent to randomNonNegativeBigInteger but omitting zero.
       */
      static BigInteger randomPositiveBigInteger(int numBits) {
        BigInteger result;
        do {
          result = randomNonNegativeBigInteger(numBits);
        } while (result.signum() == 0);
        return result;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

    import java.util.List;
    import java.util.ListIterator;
    import java.util.Vector;
    import java.util.concurrent.CopyOnWriteArrayList;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link List} implementations in the {@link java.util}
     * package. Can be subclassed to specify tests that should be suppressed.
     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 12.1K bytes
    - Viewed (0)
Back to top