Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 287 for public (0.26 sec)

  1. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

    import java.util.HashMap;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class CollectionsUtilTest {
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)}
         * .
         */
        @Test
        public void testIsEmptyCollectionOfQ() {
            Collection<String> c = null;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

     *
     * @author higa
     */
    public abstract class PreparedStatementUtil {
    
        /**
         * クエリを実行します。
         *
         * @param ps
         *            {@link PreparedStatement}。{@literal null}であってはいけません
         * @return {@link ResultSet}
         * @throws SQLRuntimeException
         *             {@link SQLException}が発生した場合
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/Maps.java

         *            <code>Map</code>に追加される値
         * @return このインスタンス自身
         */
        public Maps<K, V> $(final K key, final V value) {
            map.put(key, value);
            return this;
        }
    
        /**
         * <code>Map</code>を返します。
         *
         * @return キーと値が追加された<code>Map</code>
         */
        public Map<K, V> $() {
            return map;
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

    /**
     * @author wyukawa
     *
     */
    public class BinaryConversionUtilTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * Test method for
         * {@link org.codelibs.core.convert.BinaryConversionUtil#toBinary(java.lang.Object)}
         * .
         */
        @Test
        public void testToBinary() {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

    import org.codelibs.core.text.DecimalFormatUtil;
    
    /**
     * {@link Double}用の変換ユーティリティです。
     *
     * @author higa
     */
    public abstract class DoubleConversionUtil {
    
        /**
         * {@link Double}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@link Double}
         */
        public static Double toDouble(final Object o) {
            return toDouble(o, null);
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

    /**
     * {@link Number}用の変換ユーティリティです。
     *
     * @author higa
     */
    public abstract class NumberConversionUtil {
    
        /**
         * 適切な {@link Number}に変換します。
         *
         * @param type
         *            変換先の型
         * @param o
         *            変換元のオブジェクト
         * @return {@literal type}に変換された{@link Number}
         */
        public static Object convertNumber(final Class<?> type, final Object o) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java

     *
     * @author higa
     */
    public abstract class DocumentBuilderFactoryUtil {
    
        private static final Logger logger = Logger.getLogger(DocumentBuilderFactoryUtil.class);
    
        /**
         * 新しい {@link DocumentBuilderFactory}のインスタンスを返します。
         *
         * @return 新しい {@link DocumentBuilderFactory}のインスタンス
         */
        public static DocumentBuilderFactory newInstance() {
            return newInstance(false);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.log.Logger;
    
    /**
     * {@link java.util.zip.ZipInputStream}を扱うユーティリティクラスです。
     *
     * @author koichik
     */
    public abstract class ZipInputStreamUtil {
    
        private static final Logger logger = Logger.getLogger(ZipInputStreamUtil.class);
    
        /**
         * {@link ZipInputStream#getNextEntry()}の例外処理をラップするメソッドです。
         *
    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)
  9. src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java

    import static org.junit.Assert.assertThat;
    
    import java.sql.Timestamp;
    import java.util.Date;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class DateConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final DateConverter converter = new DateConverter("yyyy/MM/dd");
    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)
  10. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

            TimeoutManager.getInstance().clear();
        }
    
        /**
         * @throws Exception
         */
        public void testExpired() throws Exception {
            TimeoutTask task = TimeoutManager.getInstance().addTimeoutTarget(new TimeoutTarget() {
                public void expired() {
                    System.out.println("expired");
                    expiredCount++;
                }
            }, 1, true);
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top