Home | History | Annotate | Download | only in util

Lines Matching refs:IntArray

29 public class IntArray implements Cloneable {
35 private IntArray(int[] array, int size) {
41 * Creates an empty IntArray with the default initial capacity.
43 public IntArray() {
48 * Creates an empty IntArray with the specified initial capacity.
50 public IntArray(int initialCapacity) {
60 * Creates an IntArray wrapping the given primitive int array.
62 public static IntArray wrap(int[] array) {
63 return new IntArray(array, array.length);
67 * Creates an IntArray from the given primitive int array, copying it.
69 public static IntArray fromArray(int[] array, int size) {
74 * Changes the size of this IntArray. If this IntArray is shrinked, the backing array capacity
76 * created from the current content of this IntArray padded with 0s.
136 public void addAll(IntArray values) {
168 public IntArray clone() throws CloneNotSupportedException {
169 final IntArray clone = (IntArray) super.clone();
221 * Returns a new array with the contents of this IntArray.