Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 198 for Instantiate (0.07 sec)

  1. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            () -> tester.instantiate(FactoryMethodReturnsNullAndAnnotated.class));
      }
    
      public void testInstantiate_factoryMethodAcceptsNull() throws Exception {
        assertNull(tester.instantiate(FactoryMethodAcceptsNull.class).name);
      }
    
      public void testInstantiate_factoryMethodDoesNotAcceptNull() throws Exception {
        assertNotNull(tester.instantiate(FactoryMethodDoesNotAcceptNull.class).name);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      /**
       * Instantiates {@code cls} by invoking one of its non-private constructors or non-private static
       * factory methods with the parameters automatically provided using dummy values.
       *
       * @return The instantiated instance, or {@code null} if the class has no non-private constructor
       *     or factory method to be constructed.
       */
      <T> @Nullable T instantiate(Class<T> cls)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      /**
       * Instantiates {@code cls} by invoking one of its non-private constructors or non-private static
       * factory methods with the parameters automatically provided using dummy values.
       *
       * @return The instantiated instance, or {@code null} if the class has no non-private constructor
       *     or factory method to be constructed.
       */
      <T> @Nullable T instantiate(Class<T> cls)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/net/JarURLConnectionUtil.java

    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * Utility class for {@link JarURLConnection}.
     *
     * @author higa
     */
    public abstract class JarURLConnectionUtil {
    
        /**
         * Do not instantiate.
         */
        protected JarURLConnectionUtil() {
        }
    
        /**
         * A method that wraps the exception handling of {@link JarURLConnection#getJarFile()}.
         *
         * @param conn
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java

     */
    package org.codelibs.core.convert;
    
    /**
     * Utility class for conversions related to {@link Boolean}.
     *
     * @author higa
     */
    public abstract class BooleanConversionUtil {
    
        /**
         * Do not instantiate.
         */
        protected BooleanConversionUtil() {
        }
    
        /**
         * Converts to {@link Boolean}.
         *
         * @param o
         *            The object to convert
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/net/MimeTypeUtil.java

    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.io.ResourceUtil;
    
    /**
     * Utility class for MIME types.
     *
     * @author shot
     */
    public abstract class MimeTypeUtil {
    
        /**
         * Do not instantiate.
         */
        protected MimeTypeUtil() {
        }
    
        /**
         * Guesses the content type.
         *
         * @param path
         *            The path. Must not be {@literal null} or an empty string.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/text/DecimalFormatSymbolsUtil.java

     *
     * @author higa
     */
    public abstract class DecimalFormatSymbolsUtil {
    
        private static final Map<Locale, DecimalFormatSymbols> CACHE = newConcurrentHashMap();
    
        /**
         * Do not instantiate.
         */
        protected DecimalFormatSymbolsUtil() {
        }
    
        /**
         * Returns {@link DecimalFormatSymbols}.
         *
         * @return {@link DecimalFormatSymbols}
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/net/UuidUtil.java

    import java.security.SecureRandom;
    
    import org.codelibs.core.lang.StringUtil;
    
    /**
     * Utility for creating UUIDs.
     *
     * @author higa
     */
    public abstract class UuidUtil {
    
        /**
         * Do not instantiate.
         */
        protected UuidUtil() {
        }
    
        private static final byte[] DEFAULT_ADDRESS = new byte[] { (byte) 127, (byte) 0, (byte) 0, (byte) 1 };
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/xml/DocumentBuilderUtil.java

    import org.w3c.dom.Document;
    import org.xml.sax.SAXException;
    
    /**
     * Utility class for {@link DocumentBuilder}.
     *
     * @author higa
     */
    public abstract class DocumentBuilderUtil {
    
        /**
         * Do not instantiate.
         */
        protected DocumentBuilderUtil() {
        }
    
        /**
         * Parses the XML.
         *
         * @param builder
         *            {@link DocumentBuilder}; must not be {@literal null}.
         * @param is
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java

    /**
     * Utility class for conversions related to byte arrays.
     *
     * @author higa
     */
    public abstract class BinaryConversionUtil {
    
        /**
         * Do not instantiate.
         */
        protected BinaryConversionUtil() {
        }
    
        /**
         * Converts to a {@literal byte} array.
         *
         * @param o
         *            The object to convert
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top