Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 158 for Spring (0.17 sec)

  1. src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java

                } else {
                    buf.append("null");
                }
                buf.append(", ");
            }
            buf.setLength(buf.length() - 2);
            return new String(buf);
        }
    
        private static String getSignature(final Class<?>... paramTypes) {
            if (paramTypes == null || paramTypes.length == 0) {
                return "";
            }
            final StringBuilder buf = new StringBuilder(100);
    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)
  2. src/test/java/org/codelibs/core/beans/util/MyBean.java

     */
    package org.codelibs.core.beans.util;
    
    /**
     * @author higa
     */
    public class MyBean {
    
        /**
         *
         */
        public String aaa;
    
        /**
         *
         */
        public String bbb;
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 803 bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/net/UuidUtilTest.java

    public class UuidUtilTest extends TestCase {
    
        /**
         * Test method for {@link org.codelibs.core.net.UuidUtil#create()}.
         */
        public void testCreate() {
            final String uuid = UuidUtil.create();
            System.out.println(uuid);
            final String uuid2 = UuidUtil.create();
            System.out.println(uuid2);
            assertFalse(uuid.equals(uuid2));
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/IndexedIterator.java

    /**
     * インデックス付きの{@link Iterator}です。インデックスは{@literal 0}から始まります。
     *
     * <p>
     * 次のように使います.
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.IndexedIterator.*;
     *
     * List&lt;String&gt; list = ...;
     * for (Indexed&lt;String%gt; indexed : indexed(list)) {
     *     System.out.println(indexed.getIndex());
     *     System.out.println(indexed.getElement());
     * }
     * </pre>
     *
     * <pre>
    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)
  5. src/test/java/org/codelibs/core/io/CopyUtilTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class CopyUtilTest {
    
        static byte[] srcBytes = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
    
        static String srcString = "ABCDEFGHIJKLMN";
    
        static String urlString = "あいうえお";
    
        InputStream is = new ByteArrayInputStream(srcBytes);
    
        ByteArrayOutputStream os = new ByteArrayOutputStream();
    
        Reader reader = new StringReader(srcString);
    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)
  6. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

    import org.codelibs.core.io.SerializeUtil;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class SLinkedListTest {
    
        private final SLinkedList<String> list = new SLinkedList<String>();
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFirstEntry() throws Exception {
            assertThat(list.getFirstEntry(), is(nullValue()));
            list.addFirst("1");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/FileUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        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)
  8. src/main/java/org/codelibs/core/sql/StatementUtil.java

         * @param sql
         *            SQL文字列。{@literal null}や空文字列であってはいけません
         * @return 実行した結果
         * @see Statement#execute(String)
         */
        public static boolean execute(final Statement statement, final String sql) {
            assertArgumentNotNull("statement", statement);
            assertArgumentNotEmpty("sql", sql);
    
            try {
                return statement.execute(sql);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

                Thread.currentThread().setContextClassLoader(context);
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetResources() throws Exception {
            final String name = TestCase.class.getName().replace('.', '/') + ".class";
            final Iterator<URL> itr = ClassLoaderUtil.getResources(this.getClass(), name);
            assertThat(itr, is(notNullValue()));
            final URL url = itr.next();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/FieldDesc.java

        BeanDesc getBeanDesc();
    
        /**
         * フィールドを返します。
         *
         * @return フィールド
         */
        Field getField();
    
        /**
         * フィールド名を返します。
         *
         * @return フィールド名
         */
        String getFieldName();
    
        /**
         * フィールドの型を返します。
         *
         * @param <T>
         *            フィールドの型
         * @return フィールドの型
         */
        <T> Class<T> getFieldType();
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top