|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Policeman
When a crime occurs, a Policeman instance is created. Note the constructor gives this "cop" a list of suspects. The cop then asks around while investigating, and if the fingerprint is recognized by one of the students, then the cop returns that suspect.
Constructor Summary | |
Policeman(java.util.LinkedList aList)
|
Method Summary | |
Student |
investigateCrime(Fingerprint x)
Oh, heck, there's a crime! and the fingerprint is x. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Policeman(java.util.LinkedList aList)
Method Detail |
public Student investigateCrime(Fingerprint x)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |