66 |
|
|
67 |
public Pass getPass(int p) { return new Pass(p); } |
public Pass getPass(int p) { return new Pass(p); } |
68 |
|
|
69 |
|
public Object clone() { Paper p = new Paper(); impl_clone(c_id, p.c_id); return p; } |
70 |
|
|
71 |
public Paper() { |
public Paper() { |
72 |
c_id = impl_create(); |
c_id = impl_create(); |
73 |
} |
} |
81 |
static private native int impl_create(); |
static private native int impl_create(); |
82 |
static private native void impl_delete(int pid); |
static private native void impl_delete(int pid); |
83 |
|
|
84 |
|
static private native void impl_clone(int from_id, int to_id); |
85 |
|
|
86 |
static private native int impl_getNPasses(int pid); |
static private native int impl_getNPasses(int pid); |
87 |
static private native void impl_setNPasses(int pid, int i); |
static private native void impl_setNPasses(int pid, int i); |
88 |
|
|