Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for carrat (0.15 sec)

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

                return source;
            }
            final char[] array = source.toCharArray();
            for (int i = 0; i < array.length; ++i) {
                switch (array[i]) {
                case WAVE_DASH:
                    array[i] = FULLWIDTH_TILDE;
                    break;
                case DOUBLE_VERTICAL_LINE:
                    array[i] = PARALLEL_TO;
                    break;
                case MINUS_SIGN:
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

         *
         * @return message code
         */
        public String getMessageCode() {
            return messageCode;
        }
    
        /**
         * Returns arguments of a message
         *
         * @return array of arguments
         */
        public Object[] getArgs() {
            return args;
        }
    
        @Override
        public String getMessage() {
            return message;
        }
    
        /**
    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)
  3. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         *
         * @param array
         *            {@literal CharSequence}の配列
         * @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());
            }
    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)
  4. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

                    @Override
                    public String toString() {
                        return name;
                    }
    
                    @Override
                    public char charAt(final int index) {
                        return name.charAt(index);
                    }
    
                    @Override
                    public int length() {
                        return name.length();
                    }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/SerializeUtil.java

    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * オブジェクトをシリアライズするためのユーティリティです。
     *
     * @author higa
     */
    public abstract class SerializeUtil {
    
        private static final int BYTE_ARRAY_SIZE = 8 * 1024;
    
        /**
         * オブジェクトをシリアライズできるかテストします。
         *
         * @param obj
         *            シリアライズ対象のオブジェクト。{@literal null}であってはいけません
         * @return シリアライズして復元したオブジェクト
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

        protected static String toPlainPattern(final String pattern) {
            final StringBuilder buf = new StringBuilder(pattern.length());
            for (int i = 0; i < pattern.length(); ++i) {
                final char ch = pattern.charAt(i);
                if (Character.isLetterOrDigit(ch) || Character.isWhitespace(ch)) {
                    buf.append(ch);
                }
            }
            if (buf.indexOf("yy") == -1) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/CopyUtil.java

            try {
                final FileChannel channel = in.getChannel();
                final ByteBuffer buffer = ByteBuffer.allocate(DEFAULT_BUF_SIZE);
                final byte[] buf = buffer.array();
                int len;
                int amount = 0;
                while ((len = ChannelUtil.read(channel, buffer, amount)) != -1) {
                    out.write(buf, 0, len);
                    buffer.clear();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

        public void test_ofValues() {
            String[] values = { "value1", "value2" };
            StreamUtil.stream(values[0], values[1]).of(s -> {
                Object[] array = s.toArray();
                for (int i = 0; i < 2; i++) {
                    assertEquals(values[i], array[i]);
                }
            });
        }
    
        public void test_ofNull() {
            assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length));
    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)
  9. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(GenericsUtil.getActualClass(method.getGenericReturnType(), map), is(sameClass(Long.class)));
    
            method = Hoge.class.getMethod("array");
            assertThat(GenericsUtil.getActualClass(method.getGenericReturnType(), map), is(sameClass(String[].class)));
    
            method = Hoge.class.getMethod("list");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/message/MessageFormatter.java

            if (resourceBundle == null) {
                return null;
            }
    
            final int length = messageCode.length();
            if (length > CODE_NUMBER_LENGTH) {
                final String key = messageCode.charAt(0) + messageCode.substring(length - CODE_NUMBER_LENGTH);
                final String pattern = ResourceBundleUtil.getString(resourceBundle, key);
                if (pattern != null) {
                    return pattern;
                }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top