|  |  |  |  |  |  |  |  |  |  |  |  |  | 
   
    | public
    Student get(int i) 
 |  | 
   
    |  | 
   
    | The element at the specified position. 
 |  | 
   
    |  | 
   
    | require:0<=i && i<this.size() 
 |  | 
   
    |  | 
   
    | public
    void append (Student s) 
 |  | 
   
    |  | 
   
    | Append the specified Student to the end 
 | 
   
    |  | 
   
    |  | of this
    List. 
 |  | 
   
    |  | 
   
    | require: 
 |  | 
   
    |  | 
   
    | s!=null 
 |  | 
   
    |  | 
   
    | ensure: 
 |  | 
   
    |  | 
   
    | this.size()==old.size+1 
 |  | 
   
    |  | 
   
    | this.get(this.size()-1)
    == s 
 |  | 
   
    |  | 
   
    | n | Anything not
    mentioned does not change! 
 |  |