ikbs.rco.utils
Class VectorSorted

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector
              extended by ikbs.rco.utils.VectorSorted
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class VectorSorted
extends java.util.Vector

See Also:
Serialized Form

Field Summary
static int ascent
           
static int descent
           
 int sort
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
VectorSorted()
           
VectorSorted(int i)
           
 
Method Summary
 Comparable sortedElementAt(int i)
           
 void sortElement(Comparable o)
           
 void sortElement(Comparable o, int index)
           
 void sortElementAscent(Comparable o)
           
 void sortElementAscent(Comparable o, int index)
          Insertion d'un élement dans le Vecteur déjà trié à partir d'un index
 void sortElementDescent(Comparable o)
           
 void sortElementDescent(Comparable o, int index)
           
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, 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
 

Field Detail

ascent

public static int ascent

descent

public static int descent

sort

public int sort
Constructor Detail

VectorSorted

public VectorSorted()

VectorSorted

public VectorSorted(int i)
Method Detail

sortElement

public void sortElement(Comparable o)

sortElement

public void sortElement(Comparable o,
                        int index)

sortElementAscent

public void sortElementAscent(Comparable o)

sortElementAscent

public void sortElementAscent(Comparable o,
                              int index)
Insertion d'un élement dans le Vecteur déjà trié à partir d'un index


sortElementDescent

public void sortElementDescent(Comparable o)

sortElementDescent

public void sortElementDescent(Comparable o,
                               int index)

sortedElementAt

public Comparable sortedElementAt(int i)