|
|||||||||
| 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.RoundRobinDataBaseContainer
The class RoundRobinDataBaseContainer allows to transmits a Container of RoundRobinDataBase to client
RoundRobinDataBase, Serialized Form| Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData, serialVersionUID |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
RoundRobinDataBaseContainer()
Constructs an empty RoundRobinDataBaseContainer so that its internal data array has size 10 and its standard capacity increment is zero. |
|
RoundRobinDataBaseContainer(java.util.Collection c)
Constructs a RoundRobinDataBaseContainer containing the RoundRobinDataBaseItf of the specified collection, in the order they are returned by the collection's iterator. |
|
RoundRobinDataBaseContainer(int initialCapacity)
Constructs an empty RoundRobinDataBaseContainer with the specified initial capacity and with its capacity increment equal to zero. param initialCapacity the initial capacity of the RoundRobinDataBaseContainer. |
|
RoundRobinDataBaseContainer(int initialCapacity,
int capacityIncrement)
Constructs an empty RoundRobinDataBaseContainer with the specified initial capacity and capacity increment. |
|
| Method Summary | |
RoundRobinDataBaseContainer |
cloneRoundRobinDataBaseContainer()
Returns a clone of this RoundRobinDataBaseContainer. return RoundRobinDataBaseContainer |
RoundRobinDataBaseItf |
firstRoundRobinDataBase()
Returns the first component (the item at index 0) of this RoundRobinDataBaseContainer. |
RoundRobinDataBaseItf |
getRoundRobinDataBase(int index)
Returns the RoundRobinDataBaseItf at the specified position in this RoundRobinDataBaseContainer. |
RoundRobinDataBaseItf |
lastRoundRobinDataBase()
Returns the last component of the RoundRobinDataBaseContainer. |
RoundRobinDataBaseItf |
removeRoundRobinDataBase(int index)
Removes the RoundRobinDataBaseItf at the specified position in this RoundRobinDataBaseContainer. |
RoundRobinDataBaseItf |
roundRobinDataBaseAt(int index)
Returns the component at the specified index. |
RoundRobinDataBaseItf |
setRoundRobinDataBase(int index,
RoundRobinDataBaseItf rrd)
Replaces the RoundRobinDataBaseItf at the specified position in this RoundRobinDataBaseContainer with the specified RoundRobinDataBaseItf. |
RoundRobinDataBaseItf[] |
toRoundRobinDataBaseArray()
Returns an array containing all of the RoundRobinDataBaseItf in this RoundRobinDataBaseContainer in the correct order. |
RoundRobinDataBaseItf[] |
toRoundRobinDataBaseArray(RoundRobinDataBaseItf[] a)
Returns an array containing all of the RoundRobinDataBaseItf in this RoundRobinDataBaseContainer 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 RoundRobinDataBaseContainer()
public RoundRobinDataBaseContainer(java.util.Collection c)
c - the collection whose RoundRobinDataBaseItfs are to be placed into this RoundRobinDataBaseContainer.
public RoundRobinDataBaseContainer(int initialCapacity)
throws java.lang.IllegalArgumentException
public RoundRobinDataBaseContainer(int initialCapacity,
int capacityIncrement)
throws java.lang.IllegalArgumentException
initialCapacity - the initial capacity of the RoundRobinDataBaseContainer.capacityIncrement - the amount by which the capacity is increased when the RoundRobinDataBaseContainer overflows| Method Detail |
public RoundRobinDataBaseContainer cloneRoundRobinDataBaseContainer()
public RoundRobinDataBaseItf firstRoundRobinDataBase()
throws java.util.NoSuchElementException
public RoundRobinDataBaseItf getRoundRobinDataBase(int index)
throws java.lang.ArrayIndexOutOfBoundsException
index - index of RoundRobinDataBaseItf to return.
public RoundRobinDataBaseItf lastRoundRobinDataBase()
throws java.util.NoSuchElementException
public RoundRobinDataBaseItf removeRoundRobinDataBase(int index)
throws java.lang.ArrayIndexOutOfBoundsException
index - index of RoundRobinDataBaseItf to remove
public RoundRobinDataBaseItf roundRobinDataBaseAt(int index)
throws java.lang.ArrayIndexOutOfBoundsException
index - an index into this RoundRobinDataBaseContainer.
public RoundRobinDataBaseItf setRoundRobinDataBase(int index,
RoundRobinDataBaseItf rrd)
throws java.lang.ArrayIndexOutOfBoundsException,
java.lang.IllegalArgumentException
index - index of RoundRobinDataBaseItf to replace.rrd - RoundRobinDataBase to be stored at the specified position.public RoundRobinDataBaseItf[] toRoundRobinDataBaseArray()
public RoundRobinDataBaseItf[] toRoundRobinDataBaseArray(RoundRobinDataBaseItf[] a)
throws java.lang.ArrayStoreException
a - the array into which the RoundRobinDataBaseItf of the RoundRobinDataBaseContainer 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 | ||||||||