Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for arraycopy (0.14 sec)

  1. src/main/java/org/codelibs/core/collection/ArrayUtil.java

                return a;
            }
            @SuppressWarnings("unchecked")
            final T[] array = (T[]) Array.newInstance(a.getClass().getComponentType(), a.length + b.length);
            System.arraycopy(a, 0, array, 0, a.length);
            System.arraycopy(b, 0, array, a.length, b.length);
            return array;
        }
    
        /**
         * 二つの配列を連結した配列を返します。
         * <p>
    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)
  2. src/main/java/org/codelibs/core/collection/ArrayMap.java

         */
        protected Entry<K, V> removeList(final int index) {
            final Entry<K, V> e = listTable[index];
            final int numMoved = size - index - 1;
            if (numMoved > 0) {
                System.arraycopy(listTable, index + 1, listTable, index, numMoved);
            }
            listTable[--size] = null;
            return e;
        }
    
        /**
         * サイズが閾値を超えた場合に容量を確保します。
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
Back to top