|
|||||||||
| 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
|
+--com.sun.jaw.reference.common.PropertyList
This class is used for representing a couple (property, value).
Property, Serialized Form| Fields inherited from class java.util.Vector |
capacityIncrement,
elementCount,
elementData |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
PropertyList()
Creates a VecList without any elements. |
|
PropertyList(int initialCapacity)
Constructs an empty PropertyList with the specified storage capacity. |
|
PropertyList(int initialCapacity,
int capacityIncrement)
Constructs an empty PropertyList with the specified storage capacity and the specified capacity increment. |
|
| Method Summary | |
void |
addElement(Property obj)
Adds the specified Property as the last element of the vector. |
void |
insertElementAt(Property obj,
int ind)
Inserts the specified object as an element at the specified index. |
void |
setElementAt(Property obj,
int index)
Sets the element at the specified index to be the specified object. |
| Methods inherited from class java.util.Vector |
add,
add,
addAll,
addAll,
addElement,
capacity,
clear,
clone,
contains,
containsAll,
copyInto,
elementAt,
elements,
ensureCapacity,
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 |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public PropertyList()
VecList without any elements.
public PropertyList(int initialCapacity,
int capacityIncrement)
initialCapacity - The initial storage capacity of the vector.capacityIncrement - The amount by which the size of the element
is to be increased.public PropertyList(int initialCapacity)
initialCapacity - The initial storage capacity of the vector.| Method Detail |
public void setElementAt(Property obj,
int index)
obj - The object that the element is to be set to.index - The specified index.
public void insertElementAt(Property obj,
int ind)
obj - The Property to be inserted.index - The position in the index where the new Property object
is to be inserted.public void addElement(Property obj)
obj - The Property to be added.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||