Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for redhated (0.18 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

    import java.util.List;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Unit tests of {@link TypeResolver}.
     *
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeResolverTest extends TestCase {
    
      public void testWhere_noMapping() {
        Type t = aTypeVariable();
        assertEquals(t, new TypeResolver().resolveType(t));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import java.util.RandomAccess;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for repeated node and edge addition and removal in a {@link Network}. */
    @RunWith(JUnit4.class)
    
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

                    }
                  }
                });
    
        assertTrue(at.compareAndSet(1.0, 2.0));
        awaitTermination(t);
        assertBitEquals(3.0, at.get());
      }
    
      /** repeated weakCompareAndSet succeeds in changing value when equal to expected */
      public void testWeakCompareAndSet() {
        double prev = Math.E;
        double unused = Math.E + Math.PI;
        AtomicDouble at = new AtomicDouble(prev);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/FauxveridesTest.java

      }
    
      /**
       * Not really a signature -- just the parts that affect whether one method is a fauxveride of a
       * method from an ancestor class.
       *
       * <p>See JLS 8.4.2 for the definition of the related "override-equivalent."
       */
      private static final class MethodSignature implements Comparable<MethodSignature> {
        final String name;
        final List<Class<?>> parameterTypes;
        final TypeSignature typeSignature;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

      }
    
      /**
       * Not really a signature -- just the parts that affect whether one method is a fauxveride of a
       * method from an ancestor class.
       *
       * <p>See JLS 8.4.2 for the definition of the related "override-equivalent."
       */
      private static final class MethodSignature implements Comparable<MethodSignature> {
        final String name;
        final List<Class<?>> parameterTypes;
        final TypeSignature typeSignature;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

        T item = itemInfo.value;
        T related = relatedInfo.value;
        assertWithTemplate(
            "$ITEM must be $RELATIONSHIP to $OTHER",
            itemInfo,
            relatedInfo,
            equivalence.equivalent(item, related));
    
        int itemHash = equivalence.hash(item);
        int relatedHash = equivalence.hash(related);
        assertWithTemplate(
            "the $HASH ("
                + itemHash
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

     * features}, the features supported by the iterator; and {@code expectedElements}, the elements the
     * iterator should return in order.
     *
     * <p>The items in {@code elementsToInsert} will be repeated if {@code steps} is larger than the
     * number of provided elements.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ListIteratorTester<E extends @Nullable Object>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

     * features}, the features supported by the iterator; and {@code expectedElements}, the elements the
     * iterator should return in order.
     *
     * <p>The items in {@code elementsToInsert} will be repeated if {@code steps} is larger than the
     * number of provided elements.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ListIteratorTester<E extends @Nullable Object>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Supplier.java

     * generator, builder, closure, or something else entirely. No guarantees are implied by this
     * interface.
     *
     * <p>The {@link Suppliers} class provides common suppliers and related utilities.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/FunctionalExplained">the use of functional types</a>.
     *
     * <h3>For Java 8+ users</h3>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     * a typical case, the features should include {@link CollectionSize#ANY}.) These semantics are thus
     * a little different from those of other Collection-related features such as {@link
     * CollectionFeature} or {@link SetFeature}.
     *
     * <p>However, when {@link CollectionSize.Require} is used to annotate a test it behaves normally
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top