|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--DAT.ReversalADT
Reversal program using ADTs.
Accepts two character strings from the terminal, separated by
whitespace and determines whether one is the reverse of the other.
| Field Summary | |
static int |
MAX_SEQUENCE
maximum length of the input sequences |
| Constructor Summary | |
ReversalADT()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
main program |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int MAX_SEQUENCE
| Constructor Detail |
public ReversalADT()
| Method Detail |
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - command line arguments
java.lang.Exception - exceptions passed to interpreter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||