Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for instantiable (0.08 sec)

  1. guava-tests/test/com/google/common/base/PredicatesTest.java

            @Override
            public boolean apply(@Nullable Integer i) {
              throw new AssertionFailedError("This predicate should never have been evaluated");
            }
          };
    
      /** Instantiable predicate with reasonable hashCode() and equals() methods. */
      static class IsOdd implements Predicate<@Nullable Integer>, Serializable {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

            @Override
            public boolean apply(@Nullable Integer i) {
              throw new AssertionFailedError("This predicate should never have been evaluated");
            }
          };
    
      /** Instantiable predicate with reasonable hashCode() and equals() methods. */
      static class IsOdd implements Predicate<@Nullable Integer>, Serializable {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            () -> tester.instantiate(FactoryMethodReturnsNullAndAnnotated.class));
      }
    
      public void testInstantiate_factoryMethodAcceptsNull() throws Exception {
        assertThat(tester.instantiate(FactoryMethodAcceptsNull.class).name).isNull();
      }
    
      public void testInstantiate_factoryMethodDoesNotAcceptNull() throws Exception {
        assertThat(tester.instantiate(FactoryMethodDoesNotAcceptNull.class).name).isNotNull();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/Base64Util.java

     * The API remains backward compatible with previous versions.
     * </p>
     *
     * @author higa
     */
    public abstract class Base64Util {
    
        /**
         * Do not instantiate.
         */
        protected Base64Util() {
        }
    
        /**
         * Encodes data in Base64.
         * <p>
         * This method uses {@link java.util.Base64.Encoder} for encoding.
         * </p>
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

     *
     * @author Louis Wasserman
     * @param <K> The key type of the map implementation under test.
     * @param <V> The value type of the map implementation under test.
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

     *
     * @author Louis Wasserman
     * @param <K> The key type of the map implementation under test.
     * @param <V> The value type of the map implementation under test.
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        } catch (Exception e) {
          throw new IllegalArgumentException(e);
        }
      }
    
      /**
       * Useless constructor for a class of static utility methods.
       *
       * @deprecated Do not instantiate this utility class.
       */
      @Deprecated
      public Helpers() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/FileUtil.java

     * Methods that accept path strings do not perform automatic validation to maintain backward compatibility.
     * </p>
     *
     * @author higa
     */
    public abstract class FileUtil {
    
        /**
         * Do not instantiate.
         */
        protected FileUtil() {
        }
    
        /** The encoding name for UTF-8. */
        private static final String UTF8 = "UTF-8";
    
        /** Default Buffer Size */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/SerializeUtil.java

     * requirements, use the overloaded methods that accept a custom filter.
     * </p>
     *
     * @author higa
     */
    public abstract class SerializeUtil {
    
        /**
         * Do not instantiate.
         */
        protected SerializeUtil() {
        }
    
        private static final int BYTE_ARRAY_SIZE = 8 * 1024;
    
        /**
         * Default set of allowed class name patterns for deserialization.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/StringUtil.java

    import java.util.StringTokenizer;
    
    /**
     * Utility class for string operations.
     *
     * @author higa
     * @author shinsuke
     */
    public abstract class StringUtil {
    
        /**
         * Do not instantiate.
         */
        protected StringUtil() {
        }
    
        /**
         * A system line separator.
         */
        public static final String RETURN_STRING = System.getProperty("line.separator");
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top