Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 204 for selection (0.42 sec)

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

       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getCreateWithNullUnsupportedMethod() {
        return Helpers.getMethod(CollectionCreationTester.class, "testCreateWithNull_unsupported");
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/TempFileCreator.java

            Class<?> optionalClass = Class.forName("java.util.Optional");
            /*
             * We don't *need* to use reflection to access Optional: It's available on all JDKs we
             * support, and Android code won't get this far, anyway, because ProcessHandle is
             * unavailable. But given how much other reflection we're using, we might as well use it
             * here, too, so that we don't need to also suppress an AndroidApiChecker error.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

       * Returns {@link Method} instances for the read tests that assume multisets support duplicates so
       * that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getElementSetDuplicateInitializingMethods() {
        return Arrays.asList(
            Helpers.getMethod(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertEquals(Integer.MAX_VALUE, ms.tailMultiset("b", CLOSED).size());
        assertEquals(Integer.MAX_VALUE, ms.tailMultiset("a", CLOSED).size());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // Reflection bug, or actual binary compatibility problem?
      public void testElementSetBridgeMethods() {
        for (Method m : TreeMultiset.class.getMethods()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          return;
        }
        fail();
      }
    
      private static class BadEqualsFactory {
        /** oneConstantOnly matters now since it can be either null or the constant. */
        @SuppressWarnings("unused") // Called by reflection
        public static Object bad(String a, int b, @Nullable OneConstantEnum oneConstantOnly) {
          return new GoodEquals(a, b);
        }
      }
    
      public void testNullsOnReturnValues_good() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/SuppliersTest.java

                .get());
        assertEquals(
            Integer.valueOf(5),
            reserialize(Suppliers.synchronizedSupplier(Suppliers.ofInstance(5))).get());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @SuppressWarnings("Java7ApiChecker") // includes test of Java 8+ API
      public void testSuppliersNullChecks() throws Exception {
        new ClassSanityTester()
            .setDefault(Duration.class, Duration.ofSeconds(1))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/SuppliersTest.java

                .get());
        assertEquals(
            Integer.valueOf(5),
            reserialize(Suppliers.synchronizedSupplier(Suppliers.ofInstance(5))).get());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @SuppressWarnings("Java7ApiChecker") // includes test of Java 8+ API
      public void testSuppliersNullChecks() throws Exception {
        new ClassSanityTester()
            .setDefault(Duration.class, Duration.ofSeconds(1))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

       * the other. Thus, we say the bug is in set(), which fails to support null.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSetNullSupportedMethod() {
        return Helpers.getMethod(ListSetTester.class, "testSet_null");
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Enums.java

       * Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code
       * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}.
       *
       * @since 12.0
       */
      @GwtIncompatible // reflection
      public static Field getField(Enum<?> enumValue) {
        Class<?>
            clazz = enumValue.getDeclaringClass();
        try {
          return clazz.getDeclaredField(enumValue.name());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 11:56:44 GMT 2023
    - 5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return Helpers.getMethod(ListAddAtIndexTester.class, "testAddAtIndex_nullSupported");
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top