|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.broad.igv.util.collections.IntArrayList
public class IntArrayList
Author: jrobinso Date: Jul 22, 2010
ArrayList type collection for int types. Purpose is to avoid the need to create an object for each entry in the standard java collections.
Constructor Summary | |
---|---|
IntArrayList()
|
|
IntArrayList(int initialCapacity)
|
|
IntArrayList(int[] elements)
|
Method Summary | |
---|---|
void |
add(int e)
|
void |
addAll(int[] args)
|
void |
addAll(IntArrayList aList)
|
void |
clear()
Empty all elements. |
int |
get(int idx)
|
boolean |
isEmpty()
|
int |
size()
|
int[] |
toArray()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntArrayList()
public IntArrayList(int initialCapacity)
public IntArrayList(int[] elements)
Method Detail |
---|
public void add(int e)
public void addAll(int[] args)
public void addAll(IntArrayList aList)
public int get(int idx)
public int size()
public boolean isEmpty()
public void clear()
public int[] toArray()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |