edu.jhu.cs.oose.elevel.testTaking
Class SequentialTestAlgorithm
java.lang.Object
edu.jhu.cs.oose.elevel.testTaking.TestAlgorithm
edu.jhu.cs.oose.elevel.testTaking.SequentialTestAlgorithm
public class SequentialTestAlgorithm
- extends TestAlgorithm
Method Summary |
int |
nextCard()
Returns the index of the next Card in the
Deck. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequentialTestAlgorithm
public SequentialTestAlgorithm(int cardCount,
boolean repeat)
nextCard
public int nextCard()
- Description copied from class:
TestAlgorithm
- Returns the index of the next
Card
in the
Deck. Implementation must be provided by subclasses.
- Specified by:
nextCard
in class TestAlgorithm
- Returns:
- an
int
representing the index of the next Card