SortedVector()
This constructor creates a new vector and inserts, sorted, the elements
contained in the specified collection into the vector.
SortedVector(Collection c)
This constructor creates a new vector and inserts, sorted, the elements
contained in the specified collection into the vector.
Method Summary
void
add(int index,
Object element)
This method has been remapped to add( Object element ).
boolean
add(Object element)
This method adds, sorted, the specified element into the vector.
boolean
addAll(Collection c)
This method inserts, sorted, the elements contained in the specified
collection into the vector.
boolean
addAll(int index,
Collection c)
This method has been remapped to addAll( Object element ).
void
addElement(Object obj)
This method has been remapped to add( Object element ).
void
insertElementAt(Object obj,
int index)
This method has been remapped to add( Object element ).
set(int index,
Object element)
This method has been altered to replace the object at the
specified index with the specified element but at an appropriate
new index in the sorted vector corresponding to the new element value.
void
setElementAt(int index,
Object obj)
This method has been altered to replace the object at the
specified index with the specified element but at an appropriate
new index in the sorted vector corresponding to the new element value.
This method has been remapped to add( Object element ).
Since this class sorts all elements placed in the Vector,
adding elements at a specific index is not allowed.
This method has been remapped to addAll( Object element ).
Since this class sorts all elements placed in the Vector,
adding elements at a specific index is not allowed.
public void insertElementAt(Object obj,
int index)
This method has been remapped to add( Object element ).
Since this class sorts all elements placed in the Vector,
adding elements at a specific index is not allowed.
This method has been altered to replace the object at the
specified index with the specified element but at an appropriate
new index in the sorted vector corresponding to the new element value.
Since this class sorts all elements placed in the Vector,
setting elements at a specific index is not allowed.
This method has been altered to replace the object at the
specified index with the specified element but at an appropriate
new index in the sorted vector corresponding to the new element value.
Since this class sorts all elements placed in the Vector,
setting elements at a specific index is not allowed.