|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectquestion.QuestionBank
public abstract class QuestionBank
| Field Summary | |
|---|---|
(package private) java.util.Collection<Question> |
bank
|
| Constructor Summary | |
|---|---|
QuestionBank()
|
|
| Method Summary | |
|---|---|
(package private) abstract void |
addQuestion(Question question)
Adds a Question to the QuestionBank |
(package private) abstract void |
deleteQuestion(Question question)
Removes the specified Question from the QuestionBank |
(package private) abstract java.util.Collection<Question> |
findQuestion(java.lang.String search)
Finds all Question instances in the QuestionBank
that contain the search term. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.util.Collection<Question> bank
| Constructor Detail |
|---|
public QuestionBank()
| Method Detail |
|---|
abstract void addQuestion(Question question)
Question to the QuestionBank
question - the question to be addedabstract void deleteQuestion(Question question)
Question from the QuestionBank
question - The Question to be removedabstract java.util.Collection<Question> findQuestion(java.lang.String search)
Question instances in the QuestionBank
that contain the search term.
search - The String to search for in the QuestionBank
Collection of all Questions that contain
the search term, null if no Questions
match the search term.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||