Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Array (0.73 sec)

  1. 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)
  2. src/main/resources/CLMessages.properties

    ECL0010=argument[{0}] is null or empty string.
    ECL0011=argument[{0}] is null or empty array.
    ECL0012=argument[{0}] is null or empty collection.
    ECL0013=argument[{0}] is null or empty map.
    ECL0014=argument[{0}] which is null the index of array is negative integer.
    ECL0015=argument[{0}] which is null the index of array exceed the size of array[{1}].
    ECL0016=key[{0}] is not included in this BeanMap : {1}.
    ECL0017=Exception occurred, because {0}
    Properties
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:58:02 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/FileUtil.java

                final FileChannel channel = is.getChannel();
                final ByteBuffer buffer = ByteBuffer.allocate((int) ChannelUtil.size(channel));
                ChannelUtil.read(channel, buffer);
                return buffer.array();
            } finally {
                CloseableUtil.close(is);
            }
        }
    
        /**
         * デフォルトエンコーディングでファイルからテキストを読み込みます。
         *
         * @param path
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. 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)
  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/fess/util/KuromojiCSVUtil.java

        private KuromojiCSVUtil() {
        } // no instance!!!
    
        /**
         * Parse CSV line
         *
         * @param line
         *            line containing csv-encoded data
         * @return Array of values
         */
        public static String[] parse(final String line) {
            boolean insideQuote = false;
            final ArrayList<String> result = new ArrayList<>();
            int quoteCount = 0;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/Constants.java

        public static final String STORAGE_SECRET_KEY = "storage.secretkey";
    
        public static final String STORAGE_BUCKET = "storage.bucket";
    
        public static final String MAPPING_TYPE_ARRAY = "array";
    
        public static final String MAPPING_TYPE_STRING = "string";
    
        public static final String MAPPING_TYPE_LONG = "long";
    
        public static final String MAPPING_TYPE_DOUBLE = "double";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/ArrayUtil.java

        public static <T> List<T> toList(final Object array) {
            assertArgumentNotNull("array", array);
            assertArgument("array", array.getClass().isArray(), MessageFormatter.getSimpleMessage("ECL0104", array));
    
            final int length = Array.getLength(array);
            final List<Object> list = newArrayList(length);
            for (int i = 0; i < length; i++) {
                list.add(Array.get(array, i));
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertThat(ArrayUtil.addAll(emptyArray, array), is(sameInstance(array)));
            assertThat(ArrayUtil.addAll(array, emptyArray), is(sameInstance(array)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAdd_int() throws Exception {
            final int[] array = new int[] { 1 };
            final int[] newArray = ArrayUtil.add(array, 2);
            assertThat(newArray.length, is(2));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/SLinkedList.java

        }
    
        /**
         * 配列に変換します。
         *
         * @param array
         *            要素の格納先の配列。配列のサイズが十分でない場合は、同じ実行時の型で新しい配列が格納用として割り当てられる
         * @return 配列
         */
        @SuppressWarnings("unchecked")
        public E[] toArray(E[] array) {
            if (array.length < size) {
                array = (E[]) Array.newInstance(array.getClass().getComponentType(), size);
            }
            int i = 0;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11K bytes
    - Viewed (1)
Back to top