|
|||||||||
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.RoundRobinArchiveContainer
The class RoundRobinArchiveContainer allows to stock a list of RoundRobinArchive
RoundRobinArchive
, Serialized FormFields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData, serialVersionUID |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
RoundRobinArchiveContainer()
Constructs an empty RoundRobinArchiveContainerso that its internal data array has size 10 and its standard capacity increment is zero. |
|
RoundRobinArchiveContainer(java.util.Collection c)
Constructs a RoundRobinArchiveContainercontaining the RoundRobinArchive of the specified collection, in the order they are returned by the collection's iterator. |
|
RoundRobinArchiveContainer(int initialCapacity)
Constructs an empty RoundRobinArchiveContainerwith the specified initial capacity and with its capacity increment equal to zero. param initialCapacity the initial capacity of the RoundRobinArchiveContainer. |
|
RoundRobinArchiveContainer(int initialCapacity,
int capacityIncrement)
Constructs an empty RoundRobinArchiveContainerwith the specified initial capacity and capacity increment. |
Method Summary | |
RoundRobinArchiveContainer |
cloneRoundRobinArchiveContainer()
Returns a clone of this RoundRobinArchiveContainer. return RoundRobinArchiveContainer |
RoundRobinArchive |
firstRoundRobinArchive()
Returns the first component (the item at index 0) of this RoundRobinArchiveContainer. |
RoundRobinArchive |
getRoundRobinArchive(int index)
Returns the RoundRobinArchive at the specified position in this RoundRobinArchiveContainer. |
RoundRobinArchive |
lastRoundRobinArchive()
Returns the last component of the RoundRobinArchiveContainer. |
RoundRobinArchive |
removeRoundRobinArchive(int index)
Removes the RoundRobinArchive at the specified position in this RoundRobinArchiveContainer. |
RoundRobinArchive |
roundRobinArchiveAt(int index)
Returns the component at the specified index. |
RoundRobinArchive |
setRoundRobinArchive(int index,
RoundRobinArchive rra)
Replaces the RoundRobinArchive at the specified position in this RoundRobinArchiveContainerwith the specified RoundRobinArchive. |
RoundRobinArchive[] |
toRoundRobinArchiveArray()
Returns an array containing all of the RoundRobinArchive in this RoundRobinArchiveContainerin the correct order. |
RoundRobinArchive[] |
toRoundRobinArchiveArray(RoundRobinArchive[] a)
Returns an array containing all of the RoundRobinArchive in this RoundRobinArchiveContainerin the correct order. |
java.lang.String |
toString()
toString return a string representation of this RoundRobinArchiveContainer |
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, 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 RoundRobinArchiveContainer()
public RoundRobinArchiveContainer(java.util.Collection c)
c
- the collection whose RoundRobinArchives are to be placed into this RoundRobinArchiveContainer.public RoundRobinArchiveContainer(int initialCapacity) throws java.lang.IllegalArgumentException
public RoundRobinArchiveContainer(int initialCapacity, int capacityIncrement) throws java.lang.IllegalArgumentException
initialCapacity
- the initial capacity of the RoundRobinArchiveContainer.capacityIncrement
- the amount by which the capacity is increased when the RoundRobinArchiveContaineroverflowsMethod Detail |
public RoundRobinArchiveContainer cloneRoundRobinArchiveContainer()
public RoundRobinArchive firstRoundRobinArchive() throws java.util.NoSuchElementException
public RoundRobinArchive getRoundRobinArchive(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- index of RoundRobinArchive to return.public RoundRobinArchive lastRoundRobinArchive() throws java.util.NoSuchElementException
public RoundRobinArchive removeRoundRobinArchive(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- index of RoundRobinArchive to removepublic RoundRobinArchive roundRobinArchiveAt(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- an index into this RoundRobinArchiveContainer.public RoundRobinArchive setRoundRobinArchive(int index, RoundRobinArchive rra) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException
index
- index of RoundRobinArchive to replace.rra
- RoundRobinArchive to be stored at the specified position.public RoundRobinArchive[] toRoundRobinArchiveArray()
public RoundRobinArchive[] toRoundRobinArchiveArray(RoundRobinArchive[] a) throws java.lang.ArrayStoreException
a
- the array into which the RoundRobinArchive of the RoundRobinArchiveContainerare to be stored, if it is big enough; otherwise, a new array of the same runtime type is allocated for this purpose.public java.lang.String toString()
toString
in class java.util.Vector
|
Copyright 1885-2001 FIRMENICH SA, Geneva | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |