codesimian
Interface JavaProgrammer
public interface JavaProgrammer
a JavaProgrammer is any software, Human, or other thing that can write Java code.
An Object is given as input, which is often an array with the most important things first.
For example, new Object[]{
firstNodeInANetworkOfCSs,
new JavaCompileException("codesimian\JavaProgrammer.java:10: = expected\n"
+"public String writeJa vaCode(Object anything);"),
"The returned java code is shorter than 1000 bytes.",
"The returned java code does not contain any code from the internet.",
"Do not use GNU GPL software except CodeSimian.",
"The returned code has an odd quantity of functions that return int.",
new Double(Math.PI),
"The previous object is the number PI. Its often useful in programming this type of problem.",
"Forget all of that. This is a trick question. Do not write any code."
+" Instead, write a class that returns this string."
}
Or, for example, the object could simply be any CS in a network of CSs, instead of an array.
Method Summary |
java.lang.String |
writeJavaCode(java.lang.Object anything)
|
writeJavaCode
java.lang.String writeJavaCode(java.lang.Object anything)