public class SortedVector extends Object
Constructor and Description |
---|
SortedVector(ObjectComparator cmpr) |
SortedVector(ObjectComparator cmpr,
int capacity) |
Modifier and Type | Method and Description |
---|---|
int |
addElement(Object obj) |
Object |
elementAt(int index) |
Enumeration |
elements() |
int |
indexOf(Object obj) |
boolean |
insertElementAt(Object obj,
int index) |
boolean |
isIndexValid(int index,
Object obj) |
void |
removeAllElements() |
Object |
removeElementAt(int index) |
void |
setElementAt(Object obj,
int index) |
int |
size() |
public SortedVector(ObjectComparator cmpr)
public SortedVector(ObjectComparator cmpr, int capacity)
public int addElement(Object obj) throws ObjectInvalid
ObjectInvalid
public int size()
public Object elementAt(int index)
public Enumeration elements()
public Object removeElementAt(int index)
public void removeAllElements()
public int indexOf(Object obj) throws ObjectInvalid
ObjectInvalid
public void setElementAt(Object obj, int index) throws ObjectInvalid
ObjectInvalid
public boolean isIndexValid(int index, Object obj) throws ObjectInvalid
ObjectInvalid
public boolean insertElementAt(Object obj, int index) throws ObjectInvalid
ObjectInvalid
Copyright © 2016 JacORB. All rights reserved.