edu.olemiss.cs211
Class OrderedList<T extends java.lang.Comparable<? super T>>

java.lang.Object
  extended by edu.olemiss.cs211.List<T>
      extended by edu.olemiss.cs211.OrderedList<T>
All Implemented Interfaces:
java.lang.Iterable<T>

public class OrderedList<T extends java.lang.Comparable<? super T>>
extends List<T>


Constructor Summary
OrderedList()
           
 
Method Summary
 void add(T o)
          Add the given object to the list.
 
Methods inherited from class edu.olemiss.cs211.List
clone, find, iterator, main, size, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderedList

public OrderedList()
Method Detail

add

public void add(T o)
Description copied from class: List
Add the given object to the list.

Overrides:
add in class List<T extends java.lang.Comparable<? super T>>
Parameters:
o - the object to add.