Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 194 for jstring (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/core/misc/Tuple4.java

         * 4番目の値を設定します。
         *
         * @param value4
         *            4番目の値
         */
        public void setValue4(final T4 value4) {
            this.value4 = value4;
        }
    
        @Override
        public String toString() {
            return "{" + value1 + ", " + value2 + ", " + value3 + ", " + value4 + "}";
        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            int result = 1;
    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/beans/MethodDesc.java

        BeanDesc getBeanDesc();
    
        /**
         * メソッドを返します。
         *
         * @return コンストラクタ
         */
        Method getMethod();
    
        /**
         * メソッド名を返します。
         *
         * @return メソッド名
         */
        String getMethodName();
    
        /**
         * メソッドの引数型の配列を返します。
         *
         * @return メソッドの引数型の配列
         */
        Class<?>[] getParameterTypes();
    
        /**
         * メソッドの戻り値の型を返します。
         *
         * @param <T>
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/exception/ClSQLException.java

        private final String messageCode;
    
        private final Object[] args;
    
        private final String sql;
    
        /**
         * {@link ClSQLException}を作成します。
         *
         * @param messageCode
         *            メッセージコード
         * @param args
         *            引数の並び
         */
        public ClSQLException(final String messageCode, final Object[] args) {
    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)
Back to top