|
|||||||||
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.RoundRobinLibraryContainer
The class RoundRobinLibraryContainer allows to transmits a Container of RoundRobinLibrary to client
RoundRobinLibrary
, Serialized FormFields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData, serialVersionUID |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
RoundRobinLibraryContainer()
Constructs an empty RoundRobinLibraryContainer so that its internal data array has size 10 and its standard capacity increment is zero. |
|
RoundRobinLibraryContainer(java.util.Collection c)
Constructs a RoundRobinLibraryContainer containing the RoundRobinLibraryItf of the specified collection, in the order they are returned by the collection's iterator. |
|
RoundRobinLibraryContainer(int initialCapacity)
Constructs an empty RoundRobinLibraryContainer with the specified initial capacity and with its capacity increment equal to zero. param initialCapacity the initial capacity of the RoundRobinLibraryContainer. |
|
RoundRobinLibraryContainer(int initialCapacity,
int capacityIncrement)
Constructs an empty RoundRobinLibraryContainer with the specified initial capacity and capacity increment. |
Method Summary | |
RoundRobinLibraryContainer |
cloneRoundRobinLibraryContainer()
Returns a clone of this RoundRobinLibraryContainer. return RoundRobinLibraryContainer |
RoundRobinLibraryItf |
firstRoundRobinLibrary()
Returns the first component (the item at index 0) of this RoundRobinLibraryContainer. |
RoundRobinLibraryItf |
getRoundRobinLibrary(int index)
Returns the RoundRobinLibraryItf at the specified position in this RoundRobinLibraryContainer. |
RoundRobinLibraryItf |
lastRoundRobinLibrary()
Returns the last component of the RoundRobinLibraryContainer. |
RoundRobinLibraryItf |
removeRoundRobinLibrary(int index)
Removes the RoundRobinLibraryItf at the specified position in this RoundRobinLibraryContainer. |
RoundRobinLibraryItf |
roundRobinLibraryAt(int index)
Returns the component at the specified index. |
RoundRobinLibraryItf |
setRoundRobinLibrary(int index,
RoundRobinLibraryItf lib)
Replaces the RoundRobinLibraryItf at the specified position in this RoundRobinLibraryContainer with the specified RoundRobinLibraryItf. |
RoundRobinLibraryItf[] |
toRoundRobinLibraryArray()
Returns an array containing all of the RoundRobinLibraryItf in this RoundRobinLibraryContainer in the correct order. |
RoundRobinLibraryItf[] |
toRoundRobinLibraryArray(RoundRobinLibraryItf[] a)
Returns an array containing all of the RoundRobinLibraryItf in this RoundRobinLibraryContainer 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 RoundRobinLibraryContainer()
public RoundRobinLibraryContainer(java.util.Collection c)
c
- the collection whose RoundRobinLibraryItfs are to be placed into this RoundRobinLibraryContainer.public RoundRobinLibraryContainer(int initialCapacity) throws java.lang.IllegalArgumentException
public RoundRobinLibraryContainer(int initialCapacity, int capacityIncrement) throws java.lang.IllegalArgumentException
initialCapacity
- the initial capacity of the RoundRobinLibraryContainer.capacityIncrement
- the amount by which the capacity is increased when the RoundRobinLibraryContainer overflowsMethod Detail |
public RoundRobinLibraryContainer cloneRoundRobinLibraryContainer()
public RoundRobinLibraryItf firstRoundRobinLibrary() throws java.util.NoSuchElementException
public RoundRobinLibraryItf getRoundRobinLibrary(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- index of RoundRobinLibraryItf to return.public RoundRobinLibraryItf lastRoundRobinLibrary() throws java.util.NoSuchElementException
public RoundRobinLibraryItf removeRoundRobinLibrary(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- index of RoundRobinLibraryItf to removepublic RoundRobinLibraryItf roundRobinLibraryAt(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- an index into this RoundRobinLibraryContainer.public RoundRobinLibraryItf setRoundRobinLibrary(int index, RoundRobinLibraryItf lib) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException
index
- index of RoundRobinLibraryItf to replace.lib
- RoundRobinLibrary to be stored at the specified position.public RoundRobinLibraryItf[] toRoundRobinLibraryArray()
public RoundRobinLibraryItf[] toRoundRobinLibraryArray(RoundRobinLibraryItf[] a) throws java.lang.ArrayStoreException
a
- the array into which the RoundRobinLibraryItf of the RoundRobinLibraryContainer 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 |