Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 372 for keyMin (0.1 sec)

  1. guava-tests/test/com/google/common/collect/LegacyComparable.java

     * that support Java 1.4 and before. Our library needs to do the bare minimum to accommodate such
     * types, though their use may still require an explicit type parameter and/or warning suppression.
     *
     * @author Kevin Bourrillion
     */
    @SuppressWarnings({"ComparableType", "rawtypes"}) // https://github.com/google/guava/issues/989
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    class LegacyComparable implements Comparable, Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

    import java.util.Map;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Map} implementations of {@link java.util}, suppressing tests that trip known
     * bugs in OpenJDK 6 or higher.
     *
     * @author Kevin Bourrillion
     */
    // TODO(cpovirk): consider renaming this class in light of our now running it under newer JDKs.
    public class OpenJdk6MapTests extends TestsForMapsInJavaUtil {
      public static Test suite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/InternersTest.java

    import com.google.common.testing.NullPointerTester;
    import java.lang.ref.WeakReference;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Interners}.
     *
     * @author Kevin Bourrillion
     */
    public class InternersTest extends TestCase {
    
      public void testStrong_simplistic() {
        String canonical = "a";
        String not = new String("a");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/TearDownAccepter.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * Any object which can accept registrations of {@link TearDown} instances.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TearDownAccepter {
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 19:22:18 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java

    /**
     * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the
     * suitebuilder won't pick up the suites directly in the other classes because they don't extend
     * TestCase. Ergh.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6Tests extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(OpenJdk6SetTests.suite());
        suite.addTest(OpenJdk6ListTests.suite());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/TearDownAccepter.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * Any object which can accept registrations of {@link TearDown} instances.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TearDownAccepter {
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 19:22:18 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionSizeTester.java

    /**
     * A generic JUnit test which tests {@code size()} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Hashing.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.primitives.Ints;
    import javax.annotation.CheckForNull;
    
    /**
     * Static methods for implementing hash-based collections.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Austin Appleby
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Hashing {
      private Hashing() {}
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/PrimitivesTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Primitives}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class PrimitivesTest extends TestCase {
      public void testIsWrapperType() {
        assertThat(Primitives.isWrapperType(Void.class)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6QueueTests.java

    import java.util.List;
    import java.util.Queue;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Queue} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6QueueTests extends TestsForQueuesInJavaUtil {
      public static Test suite() {
        return new OpenJdk6QueueTests().allTests();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top