|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.mhhe.clrs2e.LongestCommonSubsequence.Direction
Inner class for a typesafe enum pattern for directions in a two-dimensional array.
| Field Summary | |
private java.lang.String |
name
The direction indicated. |
| Constructor Summary | |
LongestCommonSubsequence.Direction(java.lang.String name)
Creates a new Direction. |
|
| Method Summary | |
java.lang.String |
toString()
Returns the String representation of this
Direction. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private final java.lang.String name
| Constructor Detail |
public LongestCommonSubsequence.Direction(java.lang.String name)
Direction.
name - The name to store and use.| Method Detail |
public java.lang.String toString()
String representation of this
Direction.
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||