Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for init (0.14 sec)

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

         * @throws Exception
         */
        @Test
        public void testPerformance() throws Exception {
            int num = 100000;
            Map<String, Object> hmap = new HashMap<String, Object>();
            Map<String, Object> amap = new ArrayMap<String, Object>();
    
            long start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                hmap.put(String.valueOf(i), null);
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

                return new Integer(3);
            }
    
            /**
             * @param arg1
             * @param arg2
             * @return int
             */
            public int add2(final int arg1, final int arg2) {
                return arg1 + arg2;
            }
    
            /**
             * @param arg
             * @return Integer
             */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

                    public char charAt(final int index) {
                        return name.charAt(index);
                    }
    
                    @Override
                    public int length() {
                        return name.length();
                    }
    
                    @Override
                    public CharSequence subSequence(final int start, final int end) {
    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)
  4. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            }
            return pd;
        }
    
        @Override
        public PropertyDesc getPropertyDesc(final int index) {
            assertArgumentArrayIndex("index", index, getPropertyDescSize());
    
            return propertyDescCache.getAt(index);
        }
    
        @Override
        public int getPropertyDescSize() {
            return propertyDescCache.size();
        }
    
        @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

     *
     * @author higa
     * @see TimeConversionUtil
     * @see TimestampConversionUtil
     */
    public abstract class DateConversionUtil {
    
        /** {@link DateFormat}が持つスタイルの配列 */
        protected static final int[] STYLES = new int[] { SHORT, MEDIUM, LONG, FULL };
    
        /**
         * デフォルロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。
         *
         * @return {@link DateFormat#SHORT}スタイルのパターン文字列
         */
    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)
  6. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

     *
     * @author koichik
     * @see DateConversionUtil
     * @see TimestampConversionUtil
     */
    public abstract class TimeConversionUtil {
    
        /** {@link DateFormat}が持つスタイルの配列 */
        protected static final int[] STYLES = new int[] { SHORT, MEDIUM, LONG, FULL };
    
        /**
         * デフォルロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。
         *
         * @return {@link DateFormat#SHORT}スタイルのパターン文字列
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/FieldUtil.java

            }
        }
    
        /**
         * {@literal static}な {@link Field}の値をintとして取得します。
         *
         * @param field
         *            フィールド。{@literal null}であってはいけません
         * @return フィールドの値
         * @throws IllegalAccessRuntimeException
         *             {@link IllegalAccessException}が発生した場合
         * @see #getInt(Field, Object)
         */
        public static int getInt(final Field field) throws IllegalAccessRuntimeException {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

            assertArgumentNotNull("jarFile", jarFile);
            assertArgumentNotNull("prefix", prefix);
            assertArgumentNotNull("handler", handler);
    
            final int startPos = prefix.length();
            for (final JarEntry entry : iterable(jarFile.entries())) {
                final String entryName = entry.getName().replace('\\', '/');
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         *            インデックスが参照する配列の長さ
         * @throws ClIllegalArgumentException
         *             引数が配列のインデックスとして不正な場合場合。
         */
        public static void assertArgumentArrayIndex(final String argName, final int argValue, final int arraySize) {
            if (argValue < 0) {
                throw new ClIllegalArgumentException(argName, "ECL0014", asArray(argName));
            }
            if (argValue >= arraySize) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/TraversalUtil.java

            final String[] path = referenceClass.getName().split("\\.");
            String baseUrl = url.toExternalForm();
            for (final String element : path) {
                final int pos = baseUrl.lastIndexOf('/');
                baseUrl = baseUrl.substring(0, pos);
            }
            return getTraverser(URLUtil.create(baseUrl + '/'), null, null);
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 19.5K bytes
    - Viewed (0)
Back to top