holoedit.util
Class AlgoVector

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector<E>
              extended by holoedit.util.AbstractVectorSort<Algorithm>
                  extended by holoedit.util.AlgoVector
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Algorithm>, java.util.Collection<Algorithm>, java.util.List<Algorithm>, java.util.RandomAccess

public class AlgoVector
extends AbstractVectorSort<Algorithm>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class holoedit.util.AbstractVectorSort
changes
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
AlgoVector(int cap, int inc)
           
AlgoVector(java.util.Vector<Algorithm> v)
           
 
Method Summary
 boolean lessThan(Algorithm obj1, Algorithm obj2)
          rules for sorting elements true if obj1 < obj2
 boolean lessThanOrEqual(Algorithm obj1, Algorithm obj2)
          rules for sorting elements true if obj1 <= obj2
 java.util.Vector<Algorithm> sort(java.util.Vector<Algorithm> v)
           
 
Methods inherited from class holoedit.util.AbstractVectorSort
add, getVector, greaterThan, greaterThanOrEqual, insertSort, sort
 
Methods inherited from class java.util.Vector
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
 

Constructor Detail

AlgoVector

public AlgoVector(java.util.Vector<Algorithm> v)

AlgoVector

public AlgoVector(int cap,
                  int inc)
Method Detail

lessThan

public boolean lessThan(Algorithm obj1,
                        Algorithm obj2)
Description copied from class: AbstractVectorSort
rules for sorting elements true if obj1 < obj2

Specified by:
lessThan in class AbstractVectorSort<Algorithm>

lessThanOrEqual

public boolean lessThanOrEqual(Algorithm obj1,
                               Algorithm obj2)
Description copied from class: AbstractVectorSort
rules for sorting elements true if obj1 <= obj2

Specified by:
lessThanOrEqual in class AbstractVectorSort<Algorithm>

sort

public java.util.Vector<Algorithm> sort(java.util.Vector<Algorithm> v)
Specified by:
sort in class AbstractVectorSort<Algorithm>