|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.Vector
org.globus.util.SortedVector
Field Summary |
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
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 ). |
int |
findInsertPoint(Object element)
Find insert point. |
void |
insertElementAt(Object obj,
int index)
This method has been remapped to add( Object element ). |
Object |
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. |
Methods inherited from class java.util.Vector |
capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, 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 |
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Constructor Detail |
public SortedVector()
public SortedVector(Collection c)
Method Detail |
public boolean add(Object element)
element
- the element to be added to the vectorpublic int findInsertPoint(Object element)
element
- object to insert.
public boolean addAll(Collection c)
c
- the Collection of elements to be added to the sorted vector
public void add(int index, Object element)
public void addElement(Object obj)
public boolean addAll(int index, Collection c)
public void insertElementAt(Object obj, int index)
public Object set(int index, Object element)
public void setElementAt(int index, Object obj)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |