|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuka.util.ArrayPermutation
| Field Summary | |
(package private) int[] |
p
|
(package private) int |
start
|
(package private) int |
stop
|
| Constructor Summary | |
ArrayPermutation(int start,
int[] p)
|
|
| Method Summary | |
void |
appendTo(ToString s)
This method should append the contents of each instance variable of the current
object to the given ToString object. |
int |
compute(int n)
|
int |
getStart()
|
int |
getStop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
int start
int stop
int[] p
| Constructor Detail |
public ArrayPermutation(int start,
int[] p)
| Method Detail |
public int getStart()
getStart in interface Permutationpublic int getStop()
getStop in interface Permutationpublic int compute(int n)
compute in interface Permutationpublic void appendTo(ToString s)
Printableappend the contents of each instance variable of the current
object to the given ToString object. The appended data
should be labeled with the name of the corresponding instance
variable.
appendTo in interface PrintableToString,
ToString.append(String, Object),
ToString.append(String, boolean),
ToString.append(String, byte),
ToString.append(String, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||