Class List


java.lang.Object

  extended byList


public class List
extends java.lang.Object


Constructor Summary
List()
           
 
Method Summary
 void addToList(Knot Newest)
           
 void EraseList()
           
 Knot findKnot(int toFind)
           
 void output()
           
 void printList()
           
 boolean queueNumero(int toFind)
           
 void readFromFile(java.lang.String fileName)
           
 void removeFromList(int poistettava)
           
 void saveToFile(java.lang.String fileName)
           
static void sortByTime(Element[] list, int left, int right)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

List


public List()
Method Detail

addToList


public void addToList(Knot Newest)
               throws java.io.IOException
Throws:
java.io.IOException

removeFromList


public void removeFromList(int poistettava)

output


public void output()
            throws java.io.IOException
Throws:
java.io.IOException

EraseList


public void EraseList()

queueNumero


public boolean queueNumero(int toFind)

findKnot


public Knot findKnot(int toFind)

saveToFile


public void saveToFile(java.lang.String fileName)
                throws java.io.IOException
Throws:
java.io.IOException

readFromFile


public void readFromFile(java.lang.String fileName)
                  throws java.io.IOException
Throws:
java.io.IOException

sortByTime


public static void sortByTime(Element[] list,
                              int left,
                              int right)

printList


public void printList()
               throws java.io.IOException
Throws:
java.io.IOException