fr.inria.oadymppac.utils
Class SortedVector

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended byfr.inria.oadymppac.utils.SortedVector
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class SortedVector
extends java.util.Vector

Author:
raf TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments
See Also:
Serialized Form

Constructor Summary
SortedVector(java.util.Comparator comp)
           
 
Method Summary
 boolean add(java.lang.Object o)
           
 boolean addAll(java.util.Collection c)
           
 boolean addAll(int index, java.util.Collection c)
           
 void addElement(java.lang.Object obj)
           
 void insertElementAt(java.lang.Object obj, int index)
           
 java.lang.Object remove(int index)
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection c)
           
 boolean removeElement(java.lang.Object obj)
           
 void removeElementAt(int index)
           
 void setElementAt(java.lang.Object obj, int index)
           
 void sort()
           
 
Methods inherited from class java.util.Vector
add, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, isEmpty, lastElement, lastIndexOf, lastIndexOf, removeAllElements, retainAll, set, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

SortedVector

public SortedVector(java.util.Comparator comp)
Method Detail

sort

public void sort()

add

public boolean add(java.lang.Object o)

addAll

public boolean addAll(java.util.Collection c)

addAll

public boolean addAll(int index,
                      java.util.Collection c)

addElement

public void addElement(java.lang.Object obj)

insertElementAt

public void insertElementAt(java.lang.Object obj,
                            int index)

remove

public java.lang.Object remove(int index)

remove

public boolean remove(java.lang.Object o)

removeAll

public boolean removeAll(java.util.Collection c)

removeElement

public boolean removeElement(java.lang.Object obj)

removeElementAt

public void removeElementAt(int index)

setElementAt

public void setElementAt(java.lang.Object obj,
                         int index)