|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--rrdService.util.CdpPrepContainer
The class CdpPrepContainer allows to stock a list of CdpPrep
Vector
, Serialized FormFields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData, serialVersionUID |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
CdpPrepContainer()
Constructs an empty CdpPrepContainer so that its internal data array has size 10 and its standard capacity increment is zero. |
|
CdpPrepContainer(java.util.Collection c)
Constructs a CdpPrepContainer containing the CdpPrep of the specified collection, in the order they are returned by the collection's iterator. |
|
CdpPrepContainer(int initialCapacity)
Constructs an empty CdpPrepContainer with the specified initial capacity and with its capacity increment equal to zero. param initialCapacity the initial capacity of the CdpPrepContainer. |
|
CdpPrepContainer(int initialCapacity,
int capacityIncrement)
Constructs an empty CdpPrepContainer with the specified initial capacity and capacity increment. |
Method Summary | |
CdpPrep |
cdpPrepAt(int index)
Returns the component at the specified index. |
CdpPrepContainer |
cloneCdpPrepContainer()
Returns a clone of this CdpPrepContainer. return CdpPrepContainer |
CdpPrep |
firstCdpPrep()
Returns the first component (the item at index 0) of this CdpPrepContainer. |
CdpPrep |
getCdpPrep(int index)
Returns the CdpPrep at the specified position in this CdpPrepContainer. |
CdpPrep |
lastCdpPrep()
Returns the last component of the CdpPrepContainer. |
CdpPrep |
removeCdpPrep(int index)
Removes the CdpPrep at the specified position in this CdpPrepContainer. |
CdpPrep |
setCdpPrep(int index,
CdpPrep cdpPrep)
Replaces the CdpPrep at the specified position in this CdpPrepContainer with the specified CdpPrep. |
CdpPrep[] |
toCdpPrepArray()
Returns an array containing all of the CdpPrep in this CdpPrepContainer in the correct order. |
CdpPrep[] |
toCdpPrepArray(CdpPrep[] a)
Returns an array containing all of the CdpPrep in this CdpPrepContainer in the correct order. |
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, ensureCapacityHelper, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
|
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Constructor Detail |
public CdpPrepContainer()
public CdpPrepContainer(java.util.Collection c)
c
- the collection whose CdpPreps are to be placed into this CdpPrepContainer.public CdpPrepContainer(int initialCapacity) throws java.lang.IllegalArgumentException
public CdpPrepContainer(int initialCapacity, int capacityIncrement) throws java.lang.IllegalArgumentException
initialCapacity
- the initial capacity of the CdpPrepContainer.capacityIncrement
- the amount by which the capacity is increased when the CdpPrepContainer overflowsMethod Detail |
public CdpPrep cdpPrepAt(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- an index into this CdpPrepContainer.public CdpPrepContainer cloneCdpPrepContainer()
public CdpPrep firstCdpPrep() throws java.util.NoSuchElementException
public CdpPrep getCdpPrep(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- index of CdpPrep to return.public CdpPrep lastCdpPrep() throws java.util.NoSuchElementException
public CdpPrep removeCdpPrep(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- index of CdpPrep to removepublic CdpPrep setCdpPrep(int index, CdpPrep cdpPrep) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException
index
- index of CdpPrep to replace.lib
- RoundRobinDataBase to be stored at the specified position.public CdpPrep[] toCdpPrepArray()
public CdpPrep[] toCdpPrepArray(CdpPrep[] a) throws java.lang.ArrayStoreException
a
- the array into which the CdpPrep of the CdpPrepContainer are to be stored, if it is big enough; otherwise, a new array of the same runtime type is allocated for this purpose.
|
Copyright 1885-2001 FIRMENICH SA, Geneva | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |