public class IntegerList
extends java.util.Vector
Constructor and Description |
---|
IntegerList() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.Object o) |
void |
addValue(int d)
Adds a new int primitive to the list.
|
void |
addValue(int i,
int d)
Add an int to the list.
|
int |
getValue(int i)
Gets the primitive value of the int at location i.
|
add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
public void addValue(int i, int d)
d
- int an int primitive to add.i
- int the index position at which to add d.public void addValue(int d)
d
- the primitive to be added.public boolean add(java.lang.Object o)
add
in interface java.util.Collection
add
in interface java.util.List
add
in class java.util.Vector
public int getValue(int i)
i
- index to fetch from.Copyright 2004-2006 Ocean Optics, Inc. All Rights Reserved.