forked from JavaTX/JavaCompilerCore
19 lines
226 B
Plaintext
19 lines
226 B
Plaintext
|
import java.util.Vector;
|
||
|
import java.util.Stack;
|
||
|
|
||
|
class Put {
|
||
|
|
||
|
putElement(ele, v) {
|
||
|
v.addElement(ele);
|
||
|
}
|
||
|
|
||
|
putElement(ele, s) {
|
||
|
s.push(ele);
|
||
|
}
|
||
|
|
||
|
|
||
|
main(ele, x) {
|
||
|
putElement(ele, x);
|
||
|
}
|
||
|
|
||
|
}
|