Class IntArray

java.lang.Object
org.eclipse.cdt.core.parser.util.IntArray

public class IntArray extends Object
Automatically growing integer array.
Since:
5.5
  • Constructor Details

    • IntArray

      public IntArray()
    • IntArray

      public IntArray(int initialCapacity)
  • Method Details

    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • add

      public void add(int value)
    • add

      public void add(int index, int value)
    • addAll

      public void addAll(IntArray other)
    • addAll

      public void addAll(int[] array)
    • remove

      public int remove(int index)
    • remove

      public void remove(int from, int to)
    • clear

      public void clear()
    • get

      public int get(int index)
    • set

      public int set(int index, int value)
    • toArray

      public int[] toArray()
    • trimToSize

      public void trimToSize()
    • ensureCapacity

      public void ensureCapacity(int minCapacity)