Building Parsers with Java

sjm.examples.karate
Class Student

java.lang.Object
  |
  +--sjm.examples.karate.Student

public class Student
extends java.lang.Object

KaratePuzzle uses this class as a data structure.


Field Summary
 java.lang.String firstName
           
 java.lang.String lastName
           
 java.lang.String specialty
           
 
Constructor Summary
Student(java.lang.String firstName)
          Create a Student with the specified first name.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

firstName

public java.lang.String firstName

lastName

public java.lang.String lastName

specialty

public java.lang.String specialty
Constructor Detail

Student

public Student(java.lang.String firstName)
Create a Student with the specified first name.
Parameters:
firstName - java.lang.String
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
String, a textual description of the Student

by Steve Metsker