src/infinity/ecs/utils/BitArray.java
/**
	 * Resizes the array to the new size. There is no error checking, because this is an internal
	 * method. Therefore make sure that the size parameter is at least the same as the current size
	 * and also not negative.
	 *
	 * @param size The new size of the array
	 */
Resizes the array to the new size. There is no error checking, because this is an internal
method. Therefore make sure that the size parameter is at least the same as the current size
and also not negative.

@param size The new size of the array
Resizes the array to the new size . There is no error checking because this is an internal method . Therefore make sure that the size parameter is at least the same as the current size and also not negative . @param size The new size of the array
private void ResizeArray(int size) {
		int[] newArray = new int[size];
		int i = 0;
		int l = _array.length;
		for (; i < l; i++) {
			newArray[i] = _array[i];
		}
		for (; i < size; i++)
			newArray[i] = 0;
		_array = newArray;
	}
private void ResizeArray ( int size ) { int [ ] newArray = new int [ size ] ; int i = 0 ; int l = _array . length ; for ( ; i < l ; i ++ ) { newArray [ i ] = _array [ i ] ; } for ( ; i < size ; i ++ ) newArray [ i ] = 0 ; _array = newArray ; }
Resizes the array to the new size.
Resizes the array to the new size .
// NOTE: could use System.arraycopy, but doing it manually is probably faster because of
 // all the special cases which arraycopy contains, but which are irrelevant here
 // (This is just an untested assumption - should be profiled)
 // first copy all common fields from the old to the new array
 // than set all remaining fields to zero
