Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for reclass (0.14 sec)

  1. src/main/java/org/codelibs/core/beans/impl/ParameterizedClassDescImpl.java

            assertArgumentNotNull("rawClass", rawClass);
    
            this.rawClass = rawClass;
        }
    
        /**
         * インスタンスを構築します。
         *
         * @param rawClass
         *            原型となるクラス。{@literal null}であってはいけません
         * @param arguments
         *            型引数を表す{@link ParameterizedClassDesc}の配列
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

            Method m = Baz.class.getMethod("rawMap", Map.class);
            assertThat(MethodUtil.getValueTypeOfMapFromReturnType(m), is(nullValue()));
    
            m = Baz.class.getMethod("genericMap", Map.class);
            assertThat(MethodUtil.getValueTypeOfMapFromReturnType(m), is(sameClass(Class.class)));
        }
    
        /**
         *
         */
        public interface Baz {
    
            /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

            final String contentType = MimeTypeUtil.guessContentType(path);
            assertEquals("image/gif", contentType);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFromPath() throws Exception {
            final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/bbb.html";
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/InputStreamUtilTest.java

    import org.codelibs.core.lang.StringUtil;
    
    /**
     * @author higa
     *
     */
    public class InputStreamUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetBytes() throws Exception {
            final InputStream is = ResourceUtil.getResourceAsStream(StringUtil.replace(getClass().getName(), ".", "/") + ".class");
            try {
                assertNotNull("1", InputStreamUtil.getBytes(is));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/FileUtilTest.java

        public void testReadUTF8() throws Exception {
            assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ"));
        }
    
        private String getPath(final String fileName) {
            return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

    /**
     * @author koichik
     */
    public class ClassLoaderUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetClassLoader() throws Exception {
            assertThat(ClassLoaderUtil.getClassLoader(Object.class), is(sameInstance(ClassLoaderUtil.class.getClassLoader())));
    
            assertThat(ClassLoaderUtil.getClassLoader(TestCase.class), is(sameInstance(TestCase.class.getClassLoader())));
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            assertNotNull(ResourceUtil.getResourceAsStreamNoException("java/lang/String.class", "class"));
            assertNull(ResourceUtil.getResourceAsStreamNoException("java/lang/String2.class", "class"));
        }
    
        /**
         * @throws Exception
         */
        public void testGetBuildDir() throws Exception {
            final File file = ResourceUtil.getBuildDir(getClass());
            System.out.println(file);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/Tuple4.java

        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null) {
                return false;
            }
            if (getClass() != obj.getClass()) {
                return false;
            }
            @SuppressWarnings("unchecked")
            final Tuple4<T1, T2, T3, T4> other = (Tuple4<T1, T2, T3, T4>) obj;
            if (value1 == null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java

    /**
     * {@link Constructor}が見つからなかったときにスローされる例外Vです。
     *
     * @author higa
     */
    public class ConstructorNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 8584662068396978822L;
    
        private final Class<?> targetClass;
    
        private final Object[] methodArgs;
    
        private final Class<?>[] paramTypes;
    
        /**
         * {@link ConstructorNotFoundRuntimeException}を作成します。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        Reader reader = new StringReader(srcString);
    
        StringWriter writer = new StringWriter();
    
        StringBuilder builder = new StringBuilder();
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        File outputFile = new File(inputFile.getParentFile(), ".out");
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top