|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface that allows us to pull out the sort key from an
object. CountingSort and RadixSort have
inner classes that implement this interface.
| Method Summary | |
int |
extract(int value)
Extracts the key from an int. |
int |
extract(com.mhhe.clrs2e.NonNegativeInteger value)
Extracts the key from a NonNegativeInteger. |
| Method Detail |
public int extract(int value)
int.
value - The int whose key is to be extracted.
public int extract(com.mhhe.clrs2e.NonNegativeInteger value)
NonNegativeInteger.
value - The NonNegativeInteger whose key
is to be extracted.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||