Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 188 for string (0.18 sec)

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

        /**
         * {@link NullArgumentException}を作成します。
         *
         * @param argName
         *            {@code null} である引数の名前
         */
        public NullArgumentException(final String argName) {
            super(argName, "ECL0008", asArray(argName));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * @return {@literal String}の{@literal List}
         */
        protected static List<String> toStringList(final CharSequence[] array) {
            final List<String> list = newArrayList(array.length);
            for (final CharSequence element : array) {
                list.add(element.toString());
            }
            return list;
        }
    
        /**
         * 対象のプロパティかどうかを返します。
         *
         * @param name
         *            プロパティ名
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            assertEquals(getRoot() + "Program File", ResourceUtil.getFileName(url));
            url = ResourceUtil.getResource("java/lang/String.class");
            assertNull(ResourceUtil.getFile(url));
        }
    
        private String getRoot() throws IOException {
            final String root = new File("/").getCanonicalPath().replace('\\', '/');
            if (root.startsWith("/")) {
                return root;
            }
    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)
  4. src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java

            final EmptyIterator<String> emptyIterator = new EmptyIterator<String>();
            emptyIterator.remove();
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.EmptyIterator#hasNext()}.
         */
        @Test
        public void testHasNext() {
            final EmptyIterator<String> emptyIterator = new EmptyIterator<String>();
            assertThat(emptyIterator.hasNext(), is(false));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/LineIterator.java

     *
     * BufferedReader reader = ...;
     * for (String line : iterable(reader)) {
     *     ...
     * }
     * </pre>
     *
     * @author koichik
     */
    public class LineIterator implements Iterator<String> {
    
        /** {@link #line}が空であることを示す{@literal String}オブジェクト */
        protected static final String EMPTY = new String();
    
        /** {@link BufferedReader} */
        protected final BufferedReader reader;
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

         */
        public static Byte toByte(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof Byte) {
                return (Byte) o;
            } else if (o instanceof Number) {
                return ((Number) o).byteValue();
            } else if (o instanceof String) {
                return toByte((String) o);
            } else if (o instanceof java.util.Date) {
    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)
  7. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

            final String delim = NumberConversionUtil.findDecimalSeparator(null);
            final char c = new DecimalFormatSymbols(LocaleUtil.getDefault()).getDecimalSeparator();
            assertEquals(Character.toString(c), delim);
        }
    
        /**
         * @throws Exception
         */
        public void testFindIntegerDelimeter() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/converter/TimeConverter.java

        /**
         * 時間のパターンです。
         */
        protected String pattern;
    
        /**
         * インスタンスを構築します。
         *
         * @param pattern
         *            時間のパターン
         */
        public TimeConverter(final String pattern) {
            assertArgumentNotEmpty("pattern", pattern);
            this.pattern = pattern;
        }
    
        @Override
        public Object getAsObject(final String value) {
            if (isEmpty(value)) {
    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)
  9. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

         * @return アノテーションの要素の名前と値からなる{@link Map}
         */
        public static Map<String, Object> getProperties(final Annotation annotation) {
            assertArgumentNotNull("annotation", annotation);
    
            final Map<String, Object> map = newHashMap();
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(annotation.annotationType());
            for (final String name : beanDesc.getMethodNames()) {
    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)
  10. src/main/java/org/codelibs/core/exception/ClassNotFoundRuntimeException.java

         * @param cause
         *            原因となった例外
         */
        public ClassNotFoundRuntimeException(final String className, final ClassNotFoundException cause) {
            super("ECL0044", asArray(cause), cause);
            this.className = className;
        }
    
        /**
         * クラス名を返します。
         *
         * @return クラス名
         */
        public String getClassName() {
            return className;
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top