org.jacorb.collection.util
Class SortedVector
java.lang.Object
org.jacorb.collection.util.SortedVector
public class SortedVector
- extends Object
- Author:
- Gerald Brose
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SortedVector
public SortedVector(ObjectComparator cmpr)
SortedVector
public SortedVector(ObjectComparator cmpr,
int capacity)
addElement
public int addElement(Object obj)
throws ObjectInvalid
- Throws:
ObjectInvalid
size
public int size()
elementAt
public Object elementAt(int index)
elements
public Enumeration elements()
removeElementAt
public Object removeElementAt(int index)
removeAllElements
public void removeAllElements()
indexOf
public int indexOf(Object obj)
throws ObjectInvalid
- Throws:
ObjectInvalid
setElementAt
public void setElementAt(Object obj,
int index)
throws ObjectInvalid
- Throws:
ObjectInvalid
isIndexValid
public boolean isIndexValid(int index,
Object obj)
throws ObjectInvalid
- Throws:
ObjectInvalid
insertElementAt
public boolean insertElementAt(Object obj,
int index)
throws ObjectInvalid
- Throws:
ObjectInvalid
Copyright © 2015 JacORB. All rights reserved.