Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for init (0.2 sec)

  1. src/main/java/org/codelibs/core/io/CopyUtil.java

         * @param out
         *            出力ストリーム
         * @return コピーしたバイト数
         */
        protected static int copyInternal(final InputStream in, final OutputStream out) {
            try {
                final byte[] buf = new byte[DEFAULT_BUF_SIZE];
                int len;
                int amount = 0;
                while ((len = in.read(buf)) != -1) {
                    out.write(buf, 0, len);
                    amount += len;
    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)
  2. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *            同時更新を行うスレッドの推定数
         * @return {@link ConcurrentHashMap}の新しいインスタンス
         * @see ConcurrentHashMap#ConcurrentHashMap(int, float, int)
         */
        public static <K, V> ConcurrentHashMap<K, V> newConcurrentHashMap(final int initialCapacity, final float loadFactor,
                final int concurrencyLevel) {
            return new ConcurrentHashMap<>(initialCapacity, loadFactor, concurrencyLevel);
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 53.9K bytes
    - Viewed (0)
Back to top