Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 257 for Signal (0.15 sec)

  1. src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java

         */
        public static BigDecimal toBigDecimal(final Object o) {
            return toBigDecimal(o, null);
        }
    
        /**
         * {@link BigDecimal}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link BigDecimal}
         */
        public static BigDecimal toBigDecimal(final Object o, final String pattern) {
            if (o == null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

            } catch (final ParseException e) {
                throw new ParseRuntimeException(e);
            }
    
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
                return null;
            }
            return new DecimalFormat(pattern).format(value);
        }
    
        @Override
        public boolean isTarget(final Class<?> clazz) {
    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)
  3. src/main/java/org/codelibs/core/exception/MethodNotStaticRuntimeException.java

     *
     * @author koichik
     */
    public class MethodNotStaticRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 7186052234464152208L;
    
        private final Class<?> targetClass;
    
        private final String methodName;
    
        /**
         * {@link MethodNotStaticRuntimeException}を作成します。
         *
         * @param targetClass
         *            ターゲットクラス
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayIterator.java

         */
        public static <T> Iterable<T> iterable(final T... items) {
            assertArgumentNotNull("items", items);
    
            return () -> new ArrayIterator<>(items);
        }
    
        /**
         * {@link ArrayIterator}を作成します。
         *
         * @param items
         *            イテレートする要素の並び。{@literal null}であってはいけません
         */
        public ArrayIterator(final T... items) {
            this.items = items;
        }
    
        @Override
    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)
  5. src/main/java/org/codelibs/core/exception/IllegalAccessRuntimeException.java

        private static final long serialVersionUID = -3649900343028907465L;
    
        private final Class<?> targetClass;
    
        /**
         * {@link IllegalAccessRuntimeException}を作成します。
         *
         * @param targetClass
         *            ターゲットクラス
         * @param cause
         *            原因となった例外
         */
        public IllegalAccessRuntimeException(final Class<?> targetClass, final IllegalAccessException cause) {
    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/io/LineIteratorTest.java

    /**
     * @author koichik
     */
    public class LineIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
            final LineIterator it = new LineIterator(reader);
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("aaa"));
            assertThat(it.hasNext(), is(true));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class Base64UtilTest extends TestCase {
    
        private static final String ORIGINAL = "how now brown cow\r\n";
    
        private static final byte[] BINARY_DATA = ORIGINAL.getBytes();
    
        private static final String ENCODED_DATA = "aG93IG5vdyBicm93biBjb3cNCg==";
    
        /**
         * @throws Exception
         */
        public void testEncode() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/text/JsonUtil.java

         *
         * @param value input
         * @return escaped string.
         */
        public static String escape(final String value) {
            if (value == null) {
                return null;
            }
    
            char c;
            final int len = value.length();
            final StringBuilder buf = new StringBuilder(len * 2);
    
            for (int i = 0; i < len; i++) {
                c = value.charAt(i);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/ResourceNotFoundRuntimeException.java

    public class ResourceNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 9033370905740809950L;
    
        private final String path;
    
        /**
         * {@link ResourceNotFoundRuntimeException}を作成します。
         *
         * @param path
         *            リソースのパス
         */
        public ResourceNotFoundRuntimeException(final String path) {
            super("ECL0055", asArray(path));
            this.path = path;
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/exception/ParseRuntimeException.java

     *
     * @author higa
     */
    public class ParseRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -5237329676597387063L;
    
        /**
         * {@link ParseRuntimeException}を作成します。
         *
         * @param cause
         *            原因となった例外
         */
        public ParseRuntimeException(final ParseException cause) {
            super("ECL0050", asArray(cause), cause);
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top