game
Enum Student

java.lang.Object
  extended by java.lang.Enum<Student>
      extended by game.Student
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Student>

public enum Student
extends java.lang.Enum<Student>

An enum for all valid login names for Engr 9874.

Author:
dpeters

Enum Constant Summary
debug
           
dpeters
           
falam
           
haoyan
           
jianhui
           
jielu
           
jjiang
           
kassoana
           
leiding
           
leiwang
           
liangjie
           
pengyang
           
pouria
           
rundong
           
shijie
           
shuang
           
shuo
           
songlei
           
sqing
           
xinyu
           
yanxue
           
yunyi
           
zhengliu
           
 
Method Summary
 int getPort()
           
static Student valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Student[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

dpeters

public static final Student dpeters

pouria

public static final Student pouria

falam

public static final Student falam

jianhui

public static final Student jianhui

jjiang

public static final Student jjiang

yunyi

public static final Student yunyi

kassoana

public static final Student kassoana

leiding

public static final Student leiding

shuo

public static final Student shuo

jielu

public static final Student jielu

rundong

public static final Student rundong

songlei

public static final Student songlei

leiwang

public static final Student leiwang

xinyu

public static final Student xinyu

shuang

public static final Student shuang

yanxue

public static final Student yanxue

haoyan

public static final Student haoyan

pengyang

public static final Student pengyang

shijie

public static final Student shijie

liangjie

public static final Student liangjie

zhengliu

public static final Student zhengliu

sqing

public static final Student sqing

debug

public static final Student debug
Method Detail

values

public static Student[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Student c : Student.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Student valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getPort

public int getPort()