Class ClassRanking

java.lang.Object
  |
  +--ClassRanking

class ClassRanking
extends java.lang.Object

Ranks a class via their marks and prints output

Version:
BETA 26-SEP-2003 Note: This class is unfinished BETA version. Caveats: Requires exact input. Requires more than three input students. Does not sort well. Does not use String sorting. I had difficulties in the design and ran out of time. My apologies.
Author:
Ned Martin 40529927

Field Summary
static DoubleOrderedLinkedList studentList
          Creates a new linked list
 
Constructor Summary
(package private) ClassRanking()
           
 
Method Summary
static void main(java.lang.String[] args)
          Reads input, stores in linked list and writes output
private static void parse(java.lang.String studentMarks)
          parser
private static void print()
          Print output
private static void read()
          Read input
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

studentList

public static DoubleOrderedLinkedList studentList
Creates a new linked list
Constructor Detail

ClassRanking

ClassRanking()
Method Detail

main

public static void main(java.lang.String[] args)
Reads input, stores in linked list and writes output
Parameters:
-r - number Not Implemented number Not Implemented

read

private static void read()
Read input

parse

private static void parse(java.lang.String studentMarks)
parser

print

private static void print()
Print output